Skip to content

Commit

Permalink
fix: update timeout test
Browse files Browse the repository at this point in the history
  • Loading branch information
kyrylkov committed Feb 11, 2023
1 parent 1a356a3 commit 78a0552
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/socket-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -74,8 +74,8 @@ test('Disable socket timeout', (t) => {
server.once('request', (req, res) => {
setTimeout(() => {
res.end('hello')
}, 31e3)
clock.tick(32e3)
}, 301e3)
clock.tick(302e3)
})
t.teardown(server.close.bind(server))

Expand Down

0 comments on commit 78a0552

Please sign in to comment.