This commit is contained in:
Simon Priet
2021-09-05 22:53:58 +02:00
commit 9e2991e668
17888 changed files with 1263126 additions and 0 deletions

13
node_modules/stream-splicer/test/empty_no_data.js generated vendored Normal file
View File

@@ -0,0 +1,13 @@
var pipeline = require('../');
var concat = require('concat-stream');
var test = require('tape');
test('empty with no data', function (t) {
t.plan(1);
var stream = pipeline([]);
stream.end();
stream.pipe(concat(function (body) {
t.deepEqual(body.toString(), '');
}));
});