mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-13 09:33:54 +00:00
chore: no async
This commit is contained in:
parent
b28ee7896d
commit
9060907f3f
@ -2714,7 +2714,7 @@ 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', async () => {
|
it('does not delay hydration of components named after modifiers', () => {
|
||||||
expect(html).toContain('This fake lazy event should be visible!')
|
expect(html).toContain('This fake lazy event should be visible!')
|
||||||
expect(html).not.toContain('This fake lazy event shouldn\'t be visible!')
|
expect(html).not.toContain('This fake lazy event shouldn\'t be visible!')
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user