mh-two-thousand-and-two
2024-04-12 7fc6dbf547b8899d949b67cdec36b96a7d1701c7
1
2
3
4
5
6
7
8
9
10
11
12
13
// if running on older node, ensure that es6-shim is loaded first
if (/^v0.10/.test(process.version)) { require('es6-shim'); }
var assert= require('../assert');
var cp = require('../child_process');
 
describe('child_process module', function() {
    it ('execFile(true)', function() {
        return cp.execFile('true').promise.then(function(result) {
            assert.equal(result.stdout, '');
            assert.equal(result.stderr, '');
        });
    });
});