Skip to content

Commit bca2cee

Browse files
committed
oops
1 parent b936230 commit bca2cee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/lazy.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ describe('lazy', () => {
5757
);
5858
await new Promise(r => setTimeout(r, 1))
5959

60-
if (ref.current instanceof A) {
60+
if (ref.current.constructor === A) {
6161
// v10
6262
expect(ref.current.constructor).to.equal(A);
6363
} else {

0 commit comments

Comments
 (0)