Skip to content

Commit

Permalink
Don’t reset process.exit until exit code is posted
Browse files Browse the repository at this point in the history
  • Loading branch information
bengotow authored and MarshallOfSound committed May 1, 2017
1 parent 66e7d71 commit 5daea29
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/fast/electron_forge_start_spec.js
Expand Up @@ -127,7 +127,7 @@ describe('electron-forge start', () => {
check();
});

expect(getExitCode).to.eventually.equal(childExitCode);
await expect(getExitCode).to.eventually.equal(childExitCode);
process.exit = originalExit;
});
});

0 comments on commit 5daea29

Please sign in to comment.