diff options
author | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-22 07:09:07 +0800 |
---|---|---|
committer | Alex Browne <stephenalexbrowne@gmail.com> | 2018-05-22 07:52:49 +0800 |
commit | 4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe (patch) | |
tree | 49e6cd10b48385d22d0eb2213f93521e351c5928 /packages/contracts/test/ether_token.ts | |
parent | d460c0e8b9c6f4081803fff4e2d2347be8cd5ce3 (diff) | |
download | dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar.gz dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar.bz2 dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar.lz dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar.xz dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.tar.zst dexon-sol-tools-4ca8903a21d5a78ace5bff3fc5bbc917e369cbfe.zip |
Add missing blockchainLifecycle calls to contracts tests
Diffstat (limited to 'packages/contracts/test/ether_token.ts')
-rw-r--r-- | packages/contracts/test/ether_token.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/contracts/test/ether_token.ts b/packages/contracts/test/ether_token.ts index 418fbc45e..4c647bbc7 100644 --- a/packages/contracts/test/ether_token.ts +++ b/packages/contracts/test/ether_token.ts @@ -20,6 +20,13 @@ describe('EtherToken', () => { const gasPrice = ZeroEx.toBaseUnitAmount(new BigNumber(20), 9); let zeroEx: ZeroEx; let etherTokenAddress: string; + + before(async () => { + await blockchainLifecycle.startAsync(); + }); + after(async () => { + await blockchainLifecycle.revertAsync(); + }); before(async () => { const accounts = await web3Wrapper.getAvailableAddressesAsync(); account = accounts[0]; |