Skip to content

Commit fe10c32

Browse files
committed
deflake spec
1 parent 8930477 commit fe10c32

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.gte(150); // 3 attempts * 50ms minimum
143+
expect(duration).to.be.gte(149); // 3 attempts * 50ms minimum
144144
expect(attempts).to.eql(3);
145145
}
146146
});

0 commit comments

Comments
 (0)