Skip to content

Commit

Permalink
fix unit test
Browse files Browse the repository at this point in the history
  • Loading branch information
icebob committed Oct 29, 2023
1 parent 72c369e commit 38898ad
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion test/unit/transit.spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 38898ad

Please sign in to comment.