From b3bb99d76a8a0ca1984c15f73ce7d9c270351ac6 Mon Sep 17 00:00:00 2001 From: David Baker Date: Thu, 25 Oct 2018 19:11:43 +0100 Subject: [PATCH] Stop client after backup tests --- spec/unit/crypto/backup.spec.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/spec/unit/crypto/backup.spec.js b/spec/unit/crypto/backup.spec.js index 3a3ed3a97..79f956fb0 100644 --- a/spec/unit/crypto/backup.spec.js +++ b/spec/unit/crypto/backup.spec.js @@ -441,6 +441,10 @@ describe("MegolmBackup", function() { return client.initCrypto(); }); + afterEach(function() { + client.stopClient(); + }); + it('can restore from backup', function() { client._http.authedRequest = function() { return Promise.resolve(KEY_BACKUP_DATA);