mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 20:47:02 +03:00
Fixed mocks not responding properly
This commit is contained in:
2
test.js
2
test.js
@@ -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
|
||||
});
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user