mirror of
https://github.com/JamesIves/github-pages-deploy-action.git
synced 2023-12-15 20:03:39 +08:00
14 lines
466 B
JavaScript
14 lines
466 B
JavaScript
// 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, '');
|
|
});
|
|
});
|
|
});
|