Skip to content

Commit

Permalink
get updates hit time, fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
isaacs committed Apr 10, 2015
1 parent 355fb2d commit c6dd6f7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"main": "lib/lru-cache.js",
"repository": "git://github.com/isaacs/node-lru-cache.git",
"devDependencies": {
"tap": "",
"tap": "^0.7.1",
"weak": ""
},
"license": {
Expand Down
2 changes: 1 addition & 1 deletion test/basic.js
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,7 @@ test("drop the old items", function(t) {
cache.set("c", "C")
// timed out
t.notOk(cache.get("a"))
}, 60)
}, 60 + 25)

setTimeout(function () {
t.notOk(cache.get("b"))
Expand Down

0 comments on commit c6dd6f7

Please sign in to comment.