Skip to content

Commit

Permalink
update clock-mock
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Aug 2, 2022
1 parent 92b35ae commit 1a94972
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Expand Up @@ -26,7 +26,7 @@
"@types/tap": "^15.0.6",
"benchmark": "^2.1.4",
"c8": "^7.11.2",
"clock-mock": "^1.0.4",
"clock-mock": "^1.0.6",
"eslint-config-prettier": "^8.5.0",
"prettier": "^2.6.2",
"size-limit": "^7.0.8",
Expand Down
2 changes: 1 addition & 1 deletion test/fetch.ts
Expand Up @@ -8,7 +8,7 @@ const fn: Fetcher<any, any> = async (_, v) =>
setImmediate(() => res(v === undefined ? 0 : v + 1))
)

const Clock = require('clock-mock')
import Clock from 'clock-mock'
const clock = new Clock()
t.teardown(clock.enter())
clock.advance(1)
Expand Down

0 comments on commit 1a94972

Please sign in to comment.