Skip to content

Commit

Permalink
fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
esbenp committed Nov 13, 2017
1 parent b78483f commit fe28f31
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "pdf-bot",
"version": "0.5.1",
"version": "0.5.2",
"author": "Esben Petersen <esbenspetersen@gmail.com>",
"homepage": "https://github.com/esbenp/pdf-bot",
"license": "MIT",
Expand Down
6 changes: 4 additions & 2 deletions test/api.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@ describe('api: POST /', function () {
error: true
})
})
}
},
close: function(){}
}
}
var api = createApi(queue, {
Expand All @@ -56,7 +57,8 @@ describe('api: POST /', function () {

var queue = function() {
return {
addToQueue: addToQueue
addToQueue: addToQueue,
close: function(){}
}
}
var api = createApi(queue, {
Expand Down

0 comments on commit fe28f31

Please sign in to comment.