diff options
author | Brandon Millman <brandon.millman@gmail.com> | 2017-11-15 00:58:25 +0800 |
---|---|---|
committer | Brandon Millman <brandon.millman@gmail.com> | 2017-11-15 00:58:35 +0800 |
commit | c78cb27175131a27e9fbc310ec79042b77728609 (patch) | |
tree | 11943ca9116082feddc3e9ec2eba3253059d8513 /packages/0x.js/test | |
parent | bc61b920706224f0bd9c82a2e5355dae3fcc0fa9 (diff) | |
download | dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.gz dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.zst dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.zip |
Add snapshot save and revert to order_state_watcher_test.ts
Diffstat (limited to 'packages/0x.js/test')
-rw-r--r-- | packages/0x.js/test/order_state_watcher_test.ts | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/packages/0x.js/test/order_state_watcher_test.ts b/packages/0x.js/test/order_state_watcher_test.ts index 32f493ee6..810168aca 100644 --- a/packages/0x.js/test/order_state_watcher_test.ts +++ b/packages/0x.js/test/order_state_watcher_test.ts @@ -61,6 +61,12 @@ describe('OrderStateWatcher', () => { [makerToken, takerToken] = tokenUtils.getNonProtocolTokens(); web3Wrapper = (zeroEx as any)._web3Wrapper; }); + beforeEach(async () => { + await blockchainLifecycle.startAsync(); + }); + afterEach(async () => { + await blockchainLifecycle.revertAsync(); + }); describe('#removeOrder', async () => { it('should successfully remove existing order', async () => { signedOrder = await fillScenarios.createFillableSignedOrderAsync( |