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

@@ -24,6 +24,12 @@ describe('TokenRegistry', () => {
let notOwner: string;
let tokenReg: TokenRegistryContract;
let tokenRegWrapper: TokenRegWrapper;
before(async () => {
await blockchainLifecycle.startAsync();
});
after(async () => {
await blockchainLifecycle.revertAsync();
});
before(async () => {
const accounts = await web3Wrapper.getAvailableAddressesAsync();
owner = accounts[0];