Skip to content

Commit b936230

Browse files
Update test/lazy.test.js
Co-authored-by: Ryan Christian <[email protected]>
1 parent 881f0d6 commit b936230

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lazy.test.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,8 +58,10 @@ describe('lazy', () => {
5858
await new Promise(r => setTimeout(r, 1))
5959

6060
if (ref.current instanceof A) {
61+
// v10
6162
expect(ref.current.constructor).to.equal(A);
6263
} else {
64+
// v11+
6365
expect(ref.current).to.equal(scratch.firstChild);
6466
}
6567
});

0 commit comments

Comments
 (0)