1
0
mirror of https://github.com/matrix-org/matrix-js-sdk.git synced 2026-01-03 23:22:30 +03:00

fix c+p comment

This commit is contained in:
Hubert Chathi
2019-03-01 12:15:59 -05:00
committed by GitHub
parent 282904d4be
commit 86ef262799

View File

@@ -263,8 +263,7 @@ describe("Crypto", function() {
await bobDecryptor.onRoomKeyEvent(ksEvent);
await eventPromise;
expect(events[0].getContent().msgtype).toNotBe("m.bad.encrypted");
// the room key request should still be there, since we haven't
// decrypted everything
// the room key request should be gone since we've now decypted everything
expect(await cryptoStore.getOutgoingRoomKeyRequest(roomKeyRequestBody))
.toNotExist();