Skip to content

Commit

Permalink
Upgrade runtime deps
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremyruppel committed Dec 13, 2021
1 parent 79e235f commit 76c16f7
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 18 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,10 +34,10 @@
"supertest": "^6.1.6"
},
"dependencies": {
"bluebird": "~3.3.4",
"debug": "^3.1.0",
"ejs": "^2.5.5",
"bluebird": "^3.7.2",
"debug": "^4.3.3",
"ejs": "^3.1.6",
"incoming-message-hash": "^4.0.0",
"mkdirp": "^0.5.5"
"mkdirp": "^1.0.4"
}
}
12 changes: 6 additions & 6 deletions test/helpers/tmpdir.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ var path = require('path');
* @returns {Object}
*/

module.exports = function createTmpdir(done) {
return new Dir().setup(done);
module.exports = function createTmpdir() {
return new Dir().setup();
};

function Dir() {
Expand All @@ -26,12 +26,12 @@ Dir.prototype.join = function (val) {
return path.join(this.dirname, val);
};

Dir.prototype.setup = function (done) {
mkdirp(this.dirname, done);
Dir.prototype.setup = function () {
mkdirp.sync(this.dirname);
return this;
};

Dir.prototype.teardown = function (done) {
rimraf(this.dirname, done);
Dir.prototype.teardown = function () {
rimraf.sync(this.dirname);
return this;
};
8 changes: 4 additions & 4 deletions test/record.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ describe('record', function () {
server.teardown(done);
});

beforeEach(function (done) {
tmpdir = createTmpdir(done);
beforeEach(function () {
tmpdir = createTmpdir();
});

afterEach(function (done) {
tmpdir.teardown(done);
afterEach(function () {
tmpdir.teardown();
});

beforeEach(function () {
Expand Down
8 changes: 4 additions & 4 deletions test/yakbak.js
Original file line number Diff line number Diff line change
Expand Up @@ -23,12 +23,12 @@ describe('yakbak', function () {
server.teardown(done);
});

beforeEach(function (done) {
tmpdir = createTmpdir(done);
beforeEach(function () {
tmpdir = createTmpdir();
});

afterEach(function (done) {
tmpdir.teardown(done);
afterEach(function () {
tmpdir.teardown();
});

describe('record', function () {
Expand Down

0 comments on commit 76c16f7

Please sign in to comment.