Skip to content

Commit

Permalink
fixup! refactor: simply use of siinon fake timers
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Apr 21, 2024
1 parent a37a685 commit a6ef4aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/share-socket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -439,7 +439,7 @@ describe('share-socket', function () {
const req = request(`coap://localhost:${port + 1}`)
req.end()

function fastForward (increase: number, max: number): void {
function fastForward (increase, max): void {
clock.tick(increase)
if (increase < max) {
fastForward(increase, max - increase)
Expand Down

0 comments on commit a6ef4aa

Please sign in to comment.