You've already forked matrix-js-sdk
mirror of
https://github.com/matrix-org/matrix-js-sdk.git
synced 2025-12-04 05:02:41 +03:00
Stop client after backup tests
This commit is contained in:
@@ -441,6 +441,10 @@ describe("MegolmBackup", function() {
|
|||||||
return client.initCrypto();
|
return client.initCrypto();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
afterEach(function() {
|
||||||
|
client.stopClient();
|
||||||
|
});
|
||||||
|
|
||||||
it('can restore from backup', function() {
|
it('can restore from backup', function() {
|
||||||
client._http.authedRequest = function() {
|
client._http.authedRequest = function() {
|
||||||
return Promise.resolve(KEY_BACKUP_DATA);
|
return Promise.resolve(KEY_BACKUP_DATA);
|
||||||
|
|||||||
Reference in New Issue
Block a user