mirror of
https://github.com/nuxt/nuxt.git
synced 2024-11-22 21:55:11 +00:00
fix: use custom loader element
This commit is contained in:
parent
86e88052fc
commit
7bdfc6cc86
@ -2693,7 +2693,7 @@ describe('lazy import components', () => {
|
|||||||
it('respects custom delayed hydration triggers', async () => {
|
it('respects custom delayed hydration triggers', async () => {
|
||||||
const { page } = await renderPage('/lazy-import-components')
|
const { page } = await renderPage('/lazy-import-components')
|
||||||
await page.waitForLoadState('networkidle')
|
await page.waitForLoadState('networkidle')
|
||||||
await page.locator('#lazyevent').click()
|
await page.locator('#lazyevent2').click()
|
||||||
await page.waitForResponse(response =>
|
await page.waitForResponse(response =>
|
||||||
response.status() === 200 && response.text().then(text => text.includes('This shouldn\'t be visible at first with events!')),
|
response.status() === 200 && response.text().then(text => text.includes('This shouldn\'t be visible at first with events!')),
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user