diff --git a/test/basic.test.ts b/test/basic.test.ts index fde8c7032a..5db583fccf 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -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) }) })