Removed useless params in unbatch

This commit is contained in:
Lewis Diamond
2019-12-02 16:14:32 -05:00
parent a85054fd82
commit 7ab8541cf6
2 changed files with 82 additions and 1 deletions

View File

@@ -10,7 +10,7 @@ test.cb("unbatch() unbatches", t => {
const expectedElements = ["a", "b", "c"];
let i = 0;
source
.pipe(batch(3, undefined, { objectMode: true }))
.pipe(batch(3))
.pipe(unbatch())
.on("data", (element: string) => {
expect(element).to.equal(expectedElements[i]);