From f2f3c0d5a5050b2b1e2e7c2605e321ab1ec5c588 Mon Sep 17 00:00:00 2001 From: George Fu Date: Fri, 20 Sep 2024 17:14:11 +0000 Subject: [PATCH] inheritance issue in jest --- packages/util-stream/src/checksum/createChecksumStream.spec.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/util-stream/src/checksum/createChecksumStream.spec.ts b/packages/util-stream/src/checksum/createChecksumStream.spec.ts index 33513ca58f6..e7152e7656a 100644 --- a/packages/util-stream/src/checksum/createChecksumStream.spec.ts +++ b/packages/util-stream/src/checksum/createChecksumStream.spec.ts @@ -43,7 +43,6 @@ describe("Checksum streams", () => { source: stream, }); - expect(checksumStream.constructor.name).toEqual("ChecksumStream"); expect(checksumStream).toBeInstanceOf(Readable); expect(checksumStream).toBeInstanceOf(ChecksumStream); @@ -101,7 +100,6 @@ describe("Checksum streams", () => { source: stream, }); - expect(checksumStream.constructor.name).toEqual("ChecksumStream"); expect(checksumStream).toBeInstanceOf(ReadableStream); expect(checksumStream).toBeInstanceOf(ChecksumStreamWeb);