diff --git a/test/basic.test.ts b/test/basic.test.ts index b0c7787d6d..170e7dd73a 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2565,5 +2565,7 @@ describe('lazy import components', () => { it('lazy load delayed hydration comps at the right time', () => { 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() }) })