Fixed mocks not responding properly

This commit is contained in:
Ajay Ramachandran
2020-04-23 12:48:02 -04:00
parent a3b01e4eae
commit 546ded3bdd
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ var mockServer = createMockServer(() => {
mocha.run(function(failures) {
mockServer.close();
server.close();
process.exit(failures ? 1 : 0); // exit with non-zero status if there were failures
process.exitCode = failures ? 1 : 0; // exit with non-zero status if there were failures
});
});
});