mirror of
https://github.com/nuxt/nuxt.git
synced 2025-02-07 17:32:31 +00:00
wip: add initial lazy load check
This commit is contained in:
parent
998c1ba551
commit
4cc9efe563
@ -2562,4 +2562,8 @@ describe('lazy import components', () => {
|
|||||||
it('lazy load named component with mode server', () => {
|
it('lazy load named component with mode server', () => {
|
||||||
expect(html).toContain('lazy-named-comp-server')
|
expect(html).toContain('lazy-named-comp-server')
|
||||||
})
|
})
|
||||||
|
|
||||||
|
it('lazy load delayed hydration comps at the right time', () => {
|
||||||
|
expect(html).not.toContain("This shouldn't be visible at first!")
|
||||||
|
})
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user