Skip to content

Commit 82f7e6e

Browse files
committed
fix spec
1 parent 2be455b commit 82f7e6e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/AsyncRetry.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@ describe("AsyncRetry", () => {
140140
}, 2)
141141
} catch {
142142
const duration = Date.now() - startTime
143-
expect(duration).to.be.greaterThan(150) // 3 attempts * 50ms minimum
143+
expect(duration).to.be.gte(150) // 3 attempts * 50ms minimum
144144
expect(attempts).to.eql(3)
145145
}
146146
})

0 commit comments

Comments
 (0)