-
-
Notifications
You must be signed in to change notification settings - Fork 589
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bump matrix-sdk-crypto-wasm to 4.0.1 #4025
Conversation
@@ -997,7 +1003,7 @@ describe("RustCrypto", () => { | |||
}); | |||
|
|||
it("should wait for a keys/query before returning devices", async () => { | |||
jest.useFakeTimers(); | |||
jest.useFakeTimers({ doNotFake: ["queueMicrotask"] }); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
matrix-sdk-crypto-wasm 4.0.1 includes an update to wasm-bindgen-futures, which includes this PR, which requires that we have a working queueMicrotask
.
In retrospect, bumping the transitive dependencies of matrix-sdk-crypto-wasm in a patch release was a mistake.
beforeAll(async () => { | ||
// Load the WASM upfront, before any of the tests. This can take some time, and doing it here means that it gets | ||
// a separate timeout. | ||
await RustSdkCryptoJs.initAsync(); | ||
}, 15000); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
not actually part of this fix, but I think it's a useful change anyway.
This change is marked as an internal change (Task), so will not be included in the changelog.