chore: debug timeout tests

This commit is contained in:
Michael Brevard 2024-06-28 16:05:00 +03:00 committed by GitHub
parent 9060907f3f
commit 6803f61667
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -2714,9 +2714,9 @@ describe('lazy import components', () => {
expect(await page.locator('body').getByText('This shouldn\'t be visible at first with events!').all()).toHaveLength(1) expect(await page.locator('body').getByText('This shouldn\'t be visible at first with events!').all()).toHaveLength(1)
await page.close() await page.close()
}) })
it('does not delay hydration of components named after modifiers', () => { it('does not delay hydration of components named after modifiers', async () => {
expect(html).toContain('This fake lazy event should be visible!') const { page } = await renderPage('/lazy-import-components')
expect(html).not.toContain('This fake lazy event shouldn\'t be visible!') await page.waitForLoadState('networkidle')
}) })
}) })