fix(core): update
This commit is contained in:
@ -16,7 +16,7 @@ tap.test('should handle a read stream', async (tools) => {
|
||||
streamTools.push('wow =========== \n');
|
||||
return Buffer.from(result);
|
||||
},
|
||||
streamEndFunction: async (tools) => {
|
||||
finalFunction: async (tools) => {
|
||||
return Buffer.from('this is the end');
|
||||
},
|
||||
}),
|
||||
@ -24,7 +24,7 @@ tap.test('should handle a read stream', async (tools) => {
|
||||
writeAndTransformFunction: async (chunkStringArg) => {
|
||||
console.log(chunkStringArg.toString());
|
||||
},
|
||||
streamEndFunction: async (tools) => {
|
||||
finalFunction: async (tools) => {
|
||||
tools.push(null);
|
||||
},
|
||||
})
|
||||
|
Reference in New Issue
Block a user