diff options
author | Amir Bandeali <abandeali1@gmail.com> | 2018-05-30 03:02:11 +0800 |
---|---|---|
committer | Amir Bandeali <abandeali1@gmail.com> | 2018-05-31 08:11:31 +0800 |
commit | 1382c1243a421a5ad9e53ede491782cf22de0a5e (patch) | |
tree | ba93822f5fad16df45e04aafdd3f2d67e72dccce /packages/contracts/test/token_registry.ts | |
parent | 8f2fd9b603f74aa8a44dc0e8c3b845d497f9b279 (diff) | |
download | dexon-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/token_registry.ts')
-rw-r--r-- | packages/contracts/test/token_registry.ts | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/packages/contracts/test/token_registry.ts b/packages/contracts/test/token_registry.ts index df835d8f4..7980977c8 100644 --- a/packages/contracts/test/token_registry.ts +++ b/packages/contracts/test/token_registry.ts @@ -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]; |