aboutsummaryrefslogtreecommitdiffstats
path: root/packages/contracts/test/exchange/dispatcher.ts
diff options
context:
space:
mode:
authorAmir Bandeali <abandeali1@gmail.com>2018-05-30 03:02:11 +0800
committerAmir Bandeali <abandeali1@gmail.com>2018-05-31 08:11:31 +0800
commit1382c1243a421a5ad9e53ede491782cf22de0a5e (patch)
treeba93822f5fad16df45e04aafdd3f2d67e72dccce /packages/contracts/test/exchange/dispatcher.ts
parent8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279 (diff)
downloaddexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar.gz
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar.bz2
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar.lz
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar.xz
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.tar.zst
dexon-sol-tools-1382c1243a421a5ad9e53ede491782cf22de0a5e.zip
Add back before/after snapshots for each test
Diffstat (limited to 'packages/contracts/test/exchange/dispatcher.ts')
-rw-r--r--packages/contracts/test/exchange/dispatcher.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/contracts/test/exchange/dispatcher.ts b/packages/contracts/test/exchange/dispatcher.ts
index 66407322b..b9c7039bd 100644
--- a/packages/contracts/test/exchange/dispatcher.ts
+++ b/packages/contracts/test/exchange/dispatcher.ts
@@ -36,6 +36,12 @@ describe('AssetProxyDispatcher', () => {
let erc721Wrapper: ERC721Wrapper;
before(async () => {
+ await blockchainLifecycle.startAsync();
+ });
+ after(async () => {
+ await blockchainLifecycle.revertAsync();
+ });
+ before(async () => {
// Setup accounts & addresses
const accounts = await web3Wrapper.getAvailableAddressesAsync();
const usedAddresses = ([owner, notOwner, makerAddress, takerAddress] = accounts);