mirror of https://github.com/vector-im/riot-web
Add mock for new client method
parent
f9f10de0da
commit
454df8947b
|
@ -95,6 +95,7 @@ export function createTestClient() {
|
||||||
getItem: jest.fn(),
|
getItem: jest.fn(),
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
decryptEventIfNeeded: () => Promise.resolve(),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue