Skip to content

Commit f89f8c7

Browse files
author
Sean Sundberg
committed
Updates test for timer
1 parent 78c220c commit f89f8c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

client/src/util/timer.test.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ describe('timer', () => {
1919
await timer(expectedTime);
2020

2121
const endTime = new Date().getTime();
22-
expect(endTime - startTime).toBeGreaterThanOrEqual(expectedTime);
22+
expect(endTime - startTime).toBeGreaterThanOrEqual(expectedTime-2);
2323
});
2424
});
2525

0 commit comments

Comments
 (0)