diff --git a/test/basic.test.ts b/test/basic.test.ts index fef26e99f3..8757d8cca1 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2567,9 +2567,9 @@ describe('lazy import components', () => { expect(html).not.toContain('This shouldn\'t be visible at first!') const { page } = await renderPage('/lazy-import-components') expect(await page.locator('body').getByText('This shouldn\'t be visible at first!').all()).toHaveLength(0) - await page.evaluate(()=>{ - window.scrollTo(0, document.body.scrollHeight) - }) + await page.evaluate(() => { + window.scrollTo(0, document.body.scrollHeight) + }) expect(await page.locator('body').getByText('This shouldn\'t be visible at first!').all()).toHaveLength(1) }) })