Add missing blockchainLifecycle calls to contracts tests

This commit is contained in:
Alex Browne
2018-05-21 16:09:07 -07:00
parent d460c0e8b9
commit 4ca8903a21
14 changed files with 91 additions and 0 deletions

View File

@@ -56,6 +56,12 @@ describe('Exchange wrappers', () => {
let zeroEx: ZeroEx;
before(async () => {
await blockchainLifecycle.startAsync();
});
after(async () => {
await blockchainLifecycle.revertAsync();
});
before(async () => {
const accounts = await web3Wrapper.getAvailableAddressesAsync();
const usedAddresses = ([owner, makerAddress, takerAddress, feeRecipientAddress] = accounts);