Skip to content

Commit

Permalink
chore: link to not working workaround
Browse files Browse the repository at this point in the history
  • Loading branch information
ilbertt committed Dec 8, 2023
1 parent 40fe5f3 commit e49876d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/ic-websocket.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -257,6 +257,8 @@ describe("IcWebsocket class", () => {
});

// we can't use fake timers here, because we need to wait for the processing of the open message
// the workaround suggested at https://github.com/jestjs/jest/issues/2157#issuecomment-897935688
// doesn't seem to work deterministically
// TODO: figure out how to fix this, since it increases a lot the test duration
it("onopen is called when open message from canister is received", async () => {
const onOpen = jest.fn();
Expand Down

0 comments on commit e49876d

Please sign in to comment.