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 4182927 commit f2f3c0d
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 f2f3c0d

Please sign in to comment.