Electron-90 - throws error if rebuild fails

This commit is contained in:
Kiran Niranjan 2017-07-18 17:43:40 +05:30 committed by Kiran Niranjan
parent 55253c96d3
commit d869496b7e

View File

@ -22,6 +22,9 @@ describe('Tests for Activity Detection', function() {
afterAll(function (done) {
childProcess.exec('npm run rebuild', function (err, stdout) {
if (err){
throw(err);
}
jasmine.DEFAULT_TIMEOUT_INTERVAL = originalTimeout;
done();
});