Skip to content

Commit

Permalink
remove then-sleep dev dependency (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
Uzlopak authored Jun 23, 2023
1 parent 1971784 commit f0b5949
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
"semver": "^7.1.3",
"standard": "^17.0.0",
"tap": "^16.0.0",
"then-sleep": "^1.0.1",
"typescript": "^5.0.2"
},
"dependencies": {
Expand Down
6 changes: 5 additions & 1 deletion test/async-await.test.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@
/* eslint no-prototype-builtins: off */

const { test } = require('tap')
const sleep = require('then-sleep')
const sleep = function (ms) {
return new Promise(function (resolve) {
setTimeout(resolve, ms)
})
}

const boot = require('..')

Expand Down

0 comments on commit f0b5949

Please sign in to comment.