Skip to content

Commit 04a8655

Browse files
author
John Doe
committed
refactor: fix timing range test issue in CI
1 parent 7d02d56 commit 04a8655

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/utils/src/lib/clock-epoch.int.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ describe('epochClock', () => {
2727
expect(nowUs).toBe(Math.round(nowUs));
2828
const expectedUs = Date.now() * 1000;
2929

30-
expect(nowUs).toBeWithin(expectedUs - 1000, expectedUs + 1000);
30+
expect(nowUs).toBeWithin(expectedUs - 2000, expectedUs + 1000);
3131
});
3232

3333
it('should convert epoch milliseconds to microseconds correctly', () => {

0 commit comments

Comments
 (0)