diff options
Diffstat (limited to 'node_modules/stdout-stream/test/fixtures')
-rw-r--r-- | node_modules/stdout-stream/test/fixtures/end.js | 8 | ||||
-rw-r--r-- | node_modules/stdout-stream/test/fixtures/hello-world.js | 4 |
2 files changed, 12 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 diff --git a/node_modules/stdout-stream/test/fixtures/hello-world.js b/node_modules/stdout-stream/test/fixtures/hello-world.js new file mode 100644 index 0000000..096ee27 --- /dev/null +++ b/node_modules/stdout-stream/test/fixtures/hello-world.js @@ -0,0 +1,4 @@ +var stdout = require('../../'); + +stdout.write('hello\n'); +stdout.write('world\n');
\ No newline at end of file |