summaryrefslogtreecommitdiffstats
path: root/node_modules/stdout-stream/test/fixtures/end.js
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/stdout-stream/test/fixtures/end.js')
-rw-r--r--node_modules/stdout-stream/test/fixtures/end.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/node_modules/stdout-stream/test/fixtures/end.js b/node_modules/stdout-stream/test/fixtures/end.js
new file mode 100644
index 0000000..cdfeba3
--- /dev/null
+++ b/node_modules/stdout-stream/test/fixtures/end.js
@@ -0,0 +1,8 @@
+var stdout = require('../../');
+
+stdout.write('stdout');
+stdout.end(function() {
+ setTimeout(function() {
+ process.exit(0);
+ }, 10);
+}); \ No newline at end of file