From 5c4dc21d3e2f7d6e5f5aea38adcc465c0847e4ad Mon Sep 17 00:00:00 2001 From: Chris Troutner Date: Wed, 6 Jul 2022 18:39:45 -0700 Subject: [PATCH] Making e2e tests a little faster --- src/adapters/index.js | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/adapters/index.js b/src/adapters/index.js index 70fea70..9d69aec 100644 --- a/src/adapters/index.js +++ b/src/adapters/index.js @@ -62,8 +62,10 @@ class Adapters { const walletData = await this.wallet.openWallet() // console.log('walletData: ', walletData) - // Instance the wallet. - await this.wallet.instanceWallet(walletData, this.bchjs) + if (this.config.env !== 'test') { + // Instance the wallet. + await this.wallet.instanceWallet(walletData, this.bchjs) + } console.log('Async Adapters have been started.')