Types
This commit is contained in:
parent
e932adde67
commit
5112ee9540
@ -1457,7 +1457,9 @@ test.cb("accumulator() rolling with key", t => {
|
|||||||
t.deepEqual(flush, flushes[chunkIndex]);
|
t.deepEqual(flush, flushes[chunkIndex]);
|
||||||
chunkIndex++;
|
chunkIndex++;
|
||||||
})
|
})
|
||||||
.on("error", (e: any) => t.end)
|
.on("error", (e: any) => {
|
||||||
|
t.end(e);
|
||||||
|
})
|
||||||
.on("end", () => {
|
.on("end", () => {
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
@ -1501,7 +1503,9 @@ test.cb("accumulator() sliding", t => {
|
|||||||
t.deepEqual(flush, flushes[chunkIndex]);
|
t.deepEqual(flush, flushes[chunkIndex]);
|
||||||
chunkIndex++;
|
chunkIndex++;
|
||||||
})
|
})
|
||||||
.on("error", (e: any) => t.end)
|
.on("error", (e: any) => {
|
||||||
|
t.end(e);
|
||||||
|
})
|
||||||
.on("end", () => {
|
.on("end", () => {
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
@ -1556,7 +1560,9 @@ test.cb("accumulator() sliding with key", t => {
|
|||||||
t.deepEqual(flush, flushes[chunkIndex]);
|
t.deepEqual(flush, flushes[chunkIndex]);
|
||||||
chunkIndex++;
|
chunkIndex++;
|
||||||
})
|
})
|
||||||
.on("error", (e: any) => t.end)
|
.on("error", (e: any) => {
|
||||||
|
t.end(e);
|
||||||
|
})
|
||||||
.on("end", () => {
|
.on("end", () => {
|
||||||
t.end();
|
t.end();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user