We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b936230 commit bca2ceeCopy full SHA for bca2cee
test/lazy.test.js
@@ -57,7 +57,7 @@ describe('lazy', () => {
57
);
58
await new Promise(r => setTimeout(r, 1))
59
60
- if (ref.current instanceof A) {
+ if (ref.current.constructor === A) {
61
// v10
62
expect(ref.current.constructor).to.equal(A);
63
} else {
0 commit comments