Removed useless params in unbatch
This commit is contained in:
@@ -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]);
|
||||
|
||||
Reference in New Issue
Block a user