test: try through hydration

This commit is contained in:
Michael Brevard 2024-06-28 16:32:05 +03:00 committed by GitHub
parent 6803f61667
commit 0e4e92b716
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -2716,7 +2716,7 @@ describe('lazy import components', () => {
})
it('does not delay hydration of components named after modifiers', async () => {
const { page } = await renderPage('/lazy-import-components')
await page.waitForLoadState('networkidle')
await page.waitForFunction(() => window.useNuxtApp?.() && !window.useNuxtApp?.().isHydrating)
})
})