Skip to content

Commit

Permalink
fix(deps): [email protected]
Browse files Browse the repository at this point in the history
  • Loading branch information
wesleytodd committed May 29, 2023
1 parent 8e0ebf1 commit 09ef1f2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
},
"devDependencies": {
"mocha": "^9.2.2",
"rimraf": "^2.6.2",
"rimraf": "^5.0.1",
"standard": "^16.0.4"
},
"main": "index",
Expand Down
6 changes: 3 additions & 3 deletions test/basic.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */
'use strict'
const rimraf = require('rimraf')
const { rimraf } = require('rimraf')
const path = require('path')
const assert = require('assert')
const migrate = require('../')
Expand Down Expand Up @@ -197,8 +197,8 @@ describe('migration set', function () {
assert.strictEqual(set.migrations[0].description, 'Adds two pets')
})

afterEach(function (done) {
afterEach(function () {
db.nuke()
rimraf(STATE, done)
return rimraf(STATE)
})
})
6 changes: 3 additions & 3 deletions test/promises.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-env mocha */
'use strict'
const rimraf = require('rimraf')
const { rimraf } = require('rimraf')
const path = require('path')
const assert = require('assert')
const migrate = require('../')
Expand All @@ -21,8 +21,8 @@ describe('Promise migrations', function () {
})
})

afterEach(function (done) {
rimraf(STATE, done)
afterEach(function () {
return rimraf(STATE)
})

it('should handle callback migration', function (done) {
Expand Down

0 comments on commit 09ef1f2

Please sign in to comment.