diff --git a/test/index.js b/test/index.js index 640da21..7fc7108 100644 --- a/test/index.js +++ b/test/index.js @@ -1,7 +1,6 @@ const { PassThrough, Transform, - finished, pipeline, } = require('readable-stream'); const test = require('tape'); @@ -132,7 +131,6 @@ function bufferToEnd(stream, callback) { callback(err, results); } stream.prependListener('close', onFinish); - finished(stream, onFinish); stream.on('data', (chunk) => { results.push(chunk); });