1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

refactor(packages/stdlib): add small margin to the expected value

This commit is contained in:
2024-10-26 06:45:53 +07:00
parent c96213137e
commit fc774bc1af

View File

@@ -14,6 +14,6 @@ describe('sleep', () => {
const end = performance.now(); const end = performance.now();
expect(end - start).toBeGreaterThanOrEqual(delay); expect(end - start).toBeGreaterThan(delay - 5);
}); });
}); });