node-minipass/test/empty-stream-emits-end-with...

5 lines
130 B
JavaScript

const MP = require('../')
const t = require('tap')
t.test('empty end emits end without reading', t =>
new MP().end().promise())