Skip to content

Commit 4c63a60

Browse files
committed
(#85) Fixed timout in ns for busyWaitForNanoSeconds
1 parent 73b2e7f commit 4c63a60

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/sleep.function.spec.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ describe("sleep", () => {
1818
describe("busyWaitForNanoSeconds", () => {
1919
it("should resolve after x ns", async () => {
2020
// GIVEN
21-
const timeoutNs = 5000;
21+
const timeoutNs = 5_000_000;
2222
const timeoutMs = 5;
2323

2424
// WHEN

0 commit comments

Comments
 (0)