1
0
Fork 0
mirror of https://github.com/actions/setup-python.git synced 2024-11-26 10:17:48 +00:00
setup-python/node_modules/pn/test/cp.js

14 lines
466 B
JavaScript
Raw Normal View History

2019-06-27 01:12:00 +00:00
// 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, '');
});
});
});