mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
test: try through hydration
This commit is contained in:
parent
6803f61667
commit
0e4e92b716
@ -2716,7 +2716,7 @@ describe('lazy import components', () => {
|
|||||||
})
|
})
|
||||||
it('does not delay hydration of components named after modifiers', async () => {
|
it('does not delay hydration of components named after modifiers', async () => {
|
||||||
const { page } = await renderPage('/lazy-import-components')
|
const { page } = await renderPage('/lazy-import-components')
|
||||||
await page.waitForLoadState('networkidle')
|
await page.waitForFunction(() => window.useNuxtApp?.() && !window.useNuxtApp?.().isHydrating)
|
||||||
})
|
})
|
||||||
})
|
})
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user