1 var test = require('tap').test;
2 var promzard = require('../');
4 test('simple', function (t) {
7 var ctx = { tmpdir : '/tmp' }
8 var file = __dirname + '/simple.input';
9 promzard(file, ctx, function (err, output) {
16 y : '/tmp/y/file.txt',
23 setTimeout(function () {
24 process.stdin.emit('data', '\n');
27 setTimeout(function () {
28 process.stdin.emit('data', '55\n');