Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
toloudis committed Dec 30, 2024
1 parent f3a0606 commit 7206709
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/test/RequestQueue.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -500,7 +500,7 @@ describe("test RequestQueue", () => {
.and.greaterThanOrEqual(numFrames);

await unhandledpromise;
expect(fn).toHaveBeenCalledTimes(numFrames-1);
expect(fn).toHaveBeenCalledTimes(numFrames);

Check failure on line 503 in src/test/RequestQueue.test.ts

View workflow job for this annotation

GitHub Actions / Unit Test

src/test/RequestQueue.test.ts > test RequestQueue > cancelling requests > can issue and cancel mock loadspec requests

AssertionError: expected "spy" to be called 30 times, but got 29 times ❯ src/test/RequestQueue.test.ts:503:18
});
});
});

0 comments on commit 7206709

Please sign in to comment.