hexo/node_modules/stdout-stream/test/fixtures/end.js

8 lines
144 B
JavaScript

var stdout = require('../../');
stdout.write('stdout');
stdout.end(function() {
setTimeout(function() {
process.exit(0);
}, 10);
});