forked from LeenkxTeam/Kmake
19 lines
273 B
JavaScript
19 lines
273 B
JavaScript
|
|
'use strict';
|
||
|
|
|
||
|
|
const common = require('../common');
|
||
|
|
const {
|
||
|
|
pipeline,
|
||
|
|
PassThrough
|
||
|
|
} = require('stream');
|
||
|
|
|
||
|
|
|
||
|
|
async function runTest() {
|
||
|
|
await pipeline(
|
||
|
|
'',
|
||
|
|
new PassThrough({ objectMode: true }),
|
||
|
|
common.mustCall(),
|
||
|
|
);
|
||
|
|
}
|
||
|
|
|
||
|
|
runTest().then(common.mustCall());
|