Skip to content

Commit 5a5a95a

Browse files
committed
fix ExternalModule.unittest
1 parent 5f4b4be commit 5a5a95a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/ExternalModule.unittest.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ describe("ExternalModule", () => {
7777
const result = externalModule.getSource(someSourceString);
7878

7979
// check
80-
expect(result).toEqualInstanceOf(OriginalSource);
80+
expect(result).toBeInstanceOf(OriginalSource);
8181
});
8282
});
8383
describe("given it does not use source maps", () => {
@@ -92,7 +92,7 @@ describe("ExternalModule", () => {
9292
const result = externalModule.getSource(someSourceString);
9393

9494
// check
95-
expect(result).toEqualInstanceOf(RawSource);
95+
expect(result).toBeInstanceOf(RawSource);
9696
});
9797
});
9898
});

0 commit comments

Comments
 (0)