diff --git a/package.json b/package.json index 151cb22..c09b7fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "pdf-bot", - "version": "0.5.1", + "version": "0.5.2", "author": "Esben Petersen ", "homepage": "https://github.com/esbenp/pdf-bot", "license": "MIT", diff --git a/test/api.test.js b/test/api.test.js index 4b9fd22..9c96137 100644 --- a/test/api.test.js +++ b/test/api.test.js @@ -34,7 +34,8 @@ describe('api: POST /', function () { error: true }) }) - } + }, + close: function(){} } } var api = createApi(queue, { @@ -56,7 +57,8 @@ describe('api: POST /', function () { var queue = function() { return { - addToQueue: addToQueue + addToQueue: addToQueue, + close: function(){} } } var api = createApi(queue, {