Skip to content

Commit

Permalink
inheritance issue in jest
Browse files Browse the repository at this point in the history
  • Loading branch information
kuhe committed Sep 20, 2024
1 parent 5833ec1 commit 1e75f7f
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@ describe("Checksum streams", () => {
source: stream,
});

expect(checksumStream.constructor.name).toEqual("ChecksumStream");
expect(checksumStream).toBeInstanceOf(Readable);
expect(checksumStream).toBeInstanceOf(ChecksumStream);

Expand Down Expand Up @@ -101,7 +100,6 @@ describe("Checksum streams", () => {
source: stream,
});

expect(checksumStream.constructor.name).toEqual("ChecksumStream");
expect(checksumStream).toBeInstanceOf(ReadableStream);
expect(checksumStream).toBeInstanceOf(ChecksumStreamWeb);

Expand Down

0 comments on commit 1e75f7f

Please sign in to comment.