mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-11 00:23:53 +00:00
fix: async
This commit is contained in:
parent
88bae15ad7
commit
00a68bd7ff
@ -2563,7 +2563,7 @@ describe('lazy import components', () => {
|
||||
expect(html).toContain('lazy-named-comp-server')
|
||||
})
|
||||
|
||||
it('lazy load delayed hydration comps at the right time', () => {
|
||||
it('lazy load delayed hydration comps at the right time', async () => {
|
||||
expect(html).not.toContain('This shouldn\'t be visible at first!')
|
||||
const { page } = await renderPage('/lazy-import-components')
|
||||
expect(page.locator('body').getByText('This shouldn\'t be visible at first!')).not.toBeDefined()
|
||||
|
Loading…
Reference in New Issue
Block a user