Explicitly skip tests that should be skipped
This commit is contained in:
parent
42d7d51b75
commit
cf749a8e18
19 changed files with 675 additions and 262 deletions
|
@ -658,13 +658,16 @@ describe('asar package', function () {
|
|||
|
||||
describe('child_process.execFile', function () {
|
||||
var echo, execFile, execFileSync
|
||||
if (process.platform !== 'darwin') {
|
||||
return
|
||||
}
|
||||
execFile = ChildProcess.execFile
|
||||
execFileSync = ChildProcess.execFileSync
|
||||
echo = path.join(fixtures, 'asar', 'echo.asar', 'echo')
|
||||
|
||||
before(function () {
|
||||
if (process.platform !== 'darwin') {
|
||||
this.skip()
|
||||
}
|
||||
})
|
||||
|
||||
it('executes binaries', function (done) {
|
||||
execFile(echo, ['test'], function (error, stdout) {
|
||||
assert.equal(error, null)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue