mirror of
https://github.com/ajayyy/SponsorBlockServer.git
synced 2025-12-08 04:27:09 +03:00
Added youtube api cache (optional)
This commit is contained in:
2
test.js
2
test.js
@@ -32,7 +32,7 @@ var mockServer = createMockServer(() => {
|
||||
var server = createServer(() => {
|
||||
logger.info("Started main HTTP server");
|
||||
// Run the tests.
|
||||
mocha.run(function(failures) {
|
||||
mocha.run((failures) => {
|
||||
mockServer.close();
|
||||
server.close();
|
||||
process.exitCode = failures ? 1 : 0; // exit with non-zero status if there were failures
|
||||
|
||||
Reference in New Issue
Block a user