From 4cc9efe563598339453988db236e09bfeb89d6b4 Mon Sep 17 00:00:00 2001 From: Michael Brevard Date: Mon, 8 Apr 2024 17:59:41 +0300 Subject: [PATCH] wip: add initial lazy load check --- test/basic.test.ts | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/basic.test.ts b/test/basic.test.ts index 9e5983c4c..2bd13d73f 100644 --- a/test/basic.test.ts +++ b/test/basic.test.ts @@ -2562,4 +2562,8 @@ describe('lazy import components', () => { it('lazy load named component with mode 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!") + }) })