test(crypto-js): Test `InboundGrounSession.sessionId` and `.hasBeenImported`.
This commit is contained in:
parent
62ab263d0e
commit
df50a5446f
|
@ -505,6 +505,8 @@ describe(OlmMachine.name, () => {
|
|||
exportedRoomKeys = await m.exportRoomKeys(session => {
|
||||
expect(session).toBeInstanceOf(InboundGroupSession);
|
||||
expect(session.roomId.toString()).toStrictEqual(room.toString());
|
||||
expect(session.sessionId).toBeDefined();
|
||||
expect(session.hasBeenImported()).toStrictEqual(false);
|
||||
|
||||
return true;
|
||||
});
|
||||
|
|
Loading…
Reference in New Issue