Skip to content

Commit 4382d2a

Browse files
authored
Increase another crypto test timeout (#3509)
Followup to #3500: increase the timeout for another test which is also timing out.
1 parent 9de4a05 commit 4382d2a

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

spec/unit/rust-crypto/rust-crypto.spec.ts

+7-3
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,13 @@ describe("RustCrypto", () => {
5454
describe(".importRoomKeys and .exportRoomKeys", () => {
5555
let rustCrypto: RustCrypto;
5656

57-
beforeEach(async () => {
58-
rustCrypto = await makeTestRustCrypto();
59-
});
57+
beforeEach(
58+
async () => {
59+
rustCrypto = await makeTestRustCrypto();
60+
},
61+
/* it can take a while to initialise the crypto library on the first pass, so bump up the timeout. */
62+
10000,
63+
);
6064

6165
it("should import and export keys", async () => {
6266
const someRoomKeys = [

0 commit comments

Comments
 (0)