Add back before/after snapshots for each test

This commit is contained in:
Amir Bandeali
2018-05-29 12:02:11 -07:00
parent 8f2fd9b603
commit 1382c1243a
16 changed files with 97 additions and 0 deletions

View File

@@ -23,6 +23,13 @@ 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];