We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d1dec4c commit b703d4aCopy full SHA for b703d4a
spec/integ/crypto/verification.spec.ts
@@ -69,6 +69,12 @@ beforeAll(async () => {
69
await global.Olm.init();
70
});
71
72
+// load the rust library. This can take a few seconds on a slow GH worker.
73
+beforeAll(async () => {
74
+ const RustSdkCryptoJs = await require("@matrix-org/matrix-sdk-crypto-js");
75
+ await RustSdkCryptoJs.initAsync();
76
+}, 10000);
77
+
78
afterEach(() => {
79
// reset fake-indexeddb after each test, to make sure we don't leak connections
80
// cf https://github.com/dumbmatter/fakeIndexedDB#wipingresetting-the-indexeddb-for-a-fresh-state
0 commit comments