aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrandon Millman <brandon.millman@gmail.com>2017-11-15 00:58:25 +0800
committerBrandon Millman <brandon.millman@gmail.com>2017-11-15 00:58:35 +0800
commitc78cb27175131a27e9fbc310ec79042b77728609 (patch)
tree11943ca9116082feddc3e9ec2eba3253059d8513
parentbc61b920706224f0bd9c82a2e5355dae3fcc0fa9 (diff)
downloaddexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.gz
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.bz2
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.lz
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.xz
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.tar.zst
dexon-sol-tools-c78cb27175131a27e9fbc310ec79042b77728609.zip
Add snapshot save and revert to order_state_watcher_test.ts
-rw-r--r--packages/0x.js/test/order_state_watcher_test.ts6
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(