aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--test/exchange_wrapper_test.ts4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/exchange_wrapper_test.ts b/test/exchange_wrapper_test.ts
index 3935ebc89..6327ef004 100644
--- a/test/exchange_wrapper_test.ts
+++ b/test/exchange_wrapper_test.ts
@@ -19,13 +19,13 @@ const expect = chai.expect;
const blockchainLifecycle = new BlockchainLifecycle();
describe('ExchangeWrapper', () => {
+ let web3: Web3;
let zeroEx: ZeroEx;
let userAddresses: string[];
- let web3: Web3;
before(async () => {
+ web3 = web3Factory.create();
zeroEx = new ZeroEx(web3);
userAddresses = await promisify(web3.eth.getAccounts)();
- web3 = web3Factory.create();
});
beforeEach(async () => {
await blockchainLifecycle.startAsync();