Skip to content

Commit

Permalink
fix spec
Browse files Browse the repository at this point in the history
  • Loading branch information
mceachen committed Nov 4, 2024
1 parent 2be455b commit 82f7e6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/AsyncRetry.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,7 +140,7 @@ describe("AsyncRetry", () => {
}, 2)
} catch {
const duration = Date.now() - startTime
expect(duration).to.be.greaterThan(150) // 3 attempts * 50ms minimum
expect(duration).to.be.gte(150) // 3 attempts * 50ms minimum
expect(attempts).to.eql(3)
}
})
Expand Down

0 comments on commit 82f7e6e

Please sign in to comment.