diff --git a/tests/activityDetection.test.js b/tests/activityDetection.test.js index f9f77263..7f38a11a 100644 --- a/tests/activityDetection.test.js +++ b/tests/activityDetection.test.js @@ -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(); });