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

@@ -33,6 +33,12 @@ describe('LibBytes', () => {
const testBytes32 = '0x102030405060708090a0b0c0d0e0f0102030405060708090a0b0c0d0e0f01020';
const testUint256 = new BigNumber(testBytes32, 16);
before(async () => {
await blockchainLifecycle.startAsync();
});
after(async () => {
await blockchainLifecycle.revertAsync();
});
before(async () => {
// Setup accounts & addresses
const accounts = await web3Wrapper.getAvailableAddressesAsync();