UNPKG

brush_cli

Version:

A tool for creating and developing cmos PC Framework project.

14 lines (11 loc) 306 B
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(), ''); })); });