fix: remove line

This commit is contained in:
Michael Brevard 2024-06-02 22:04:03 +03:00 committed by GitHub
parent b1c498bea7
commit d04d244799
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2637,7 +2637,6 @@ describe('lazy import components', () => {
it('lazy load delayed hydration comps at the right time', async () => {
expect(html).not.toContain('This shouldn\'t be visible at first!')
expect(html).toContain('This should be visible at first!')
const { page } = await renderPage('/lazy-import-components')
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)