From 38898ade8e6628154de60e420c8b91760ad7a296 Mon Sep 17 00:00:00 2001 From: Icebob Date: Sun, 29 Oct 2023 18:53:35 +0100 Subject: [PATCH] fix unit test --- test/unit/transit.spec.js | 1 - 1 file changed, 1 deletion(-) diff --git a/test/unit/transit.spec.js b/test/unit/transit.spec.js index 2cd4b33be..68ac30c40 100644 --- a/test/unit/transit.spec.js +++ b/test/unit/transit.spec.js @@ -2181,7 +2181,6 @@ describe("Test Transit._sendRequest", () => { }); it("should send splitted stream chunks from finished stream", () => { - transit.publish = jest.fn(() => Promise.resolve()); transit.opts.maxChunkSize = 100; let randomData = crypto.randomBytes(256); // length > maxChunkSize => will be splitted to several chunks let stream = new Stream.PassThrough();