Added youtube api cache (optional)

This commit is contained in:
Joe Dowd
2020-09-08 17:37:29 +01:00
parent b79f740e2b
commit 9d94067cd0
9 changed files with 311 additions and 14 deletions

View File

@@ -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