From 4dbeee8cb324b3f546bf2560ae330c080e680fd6 Mon Sep 17 00:00:00 2001 From: "J. Ryan Stinnett" Date: Mon, 27 Jan 2020 15:28:36 +0000 Subject: [PATCH] Ignore downloading for tests --- spec/unit/crypto/secrets.spec.js | 3 +++ 1 file changed, 3 insertions(+) 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; }