We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 526da71 commit 98fdcabCopy full SHA for 98fdcab
spec/unit/crypto.spec.js
@@ -139,6 +139,11 @@ describe("Crypto", function() {
139
await bobClient.initCrypto();
140
});
141
142
+ afterEach(async function() {
143
+ aliceClient.stopClient();
144
+ bobClient.stopClient();
145
+ });
146
+
147
it(
148
"does not cancel keyshare requests if some messages are not decrypted",
149
async function() {
@@ -266,9 +271,6 @@ describe("Crypto", function() {
266
271
// the room key request should be gone since we've now decypted everything
267
272
expect(await cryptoStore.getOutgoingRoomKeyRequest(roomKeyRequestBody))
268
273
.toNotExist();
269
-
270
- aliceClient.stopClient();
- bobClient.stopClient();
274
},
275
);
276
0 commit comments