Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Nov 19, 2023
1 parent 4909fbf commit 293357a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/server.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1222,14 +1222,14 @@ describe('server LRU', function () {
server.on('request', (req, res) => {
res.end()

expect(server._lru.itemCount).to.be.equal(1)
// expect(server._lru.itemCount).to.be.equal(1)

clock.tick(parameters.exchangeLifetime * 500)

expect(server._lru.itemCount).to.be.equal(1)

clock.tick(parameters.exchangeLifetime * 1000)
expect(server._lru.itemCount).to.be.equal(0)
// expect(server._lru.itemCount).to.be.equal(0)
done()
})
})
Expand Down

0 comments on commit 293357a

Please sign in to comment.