diff --git a/spec/unit/crypto/secrets.spec.js b/spec/unit/crypto/secrets.spec.js index f72b2bb09..5084263e6 100644 --- a/spec/unit/crypto/secrets.spec.js +++ b/spec/unit/crypto/secrets.spec.js @@ -34,6 +34,9 @@ async function makeTestClient(userInfo, options) { await client.initCrypto(); + // No need to download keys for these tests + client._crypto.downloadKeys = async function() {}; + return client; }