diff options
author | Fabio Berger <me@fabioberger.com> | 2017-11-13 07:11:45 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-11-13 07:11:45 +0800 |
commit | 6daf70b745b561f9a767886e2b40891da7ebc184 (patch) | |
tree | 63cfebd8e95b3dc15a8f593ffa105a9b3bf6412e /test/utils/blockchain_lifecycle.ts | |
parent | abb23631df4fd775d2f9c96332e16c0732b2955e (diff) | |
parent | 12298ea392525ed1de87115003e7d89267489c88 (diff) | |
download | dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar.gz dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar.bz2 dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar.lz dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar.xz dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.tar.zst dexon-sol-tools-6daf70b745b561f9a767886e2b40891da7ebc184.zip |
Merge pull request #207 from 0xProject/orderWatcherTests
Additional order watcher tests
Diffstat (limited to 'test/utils/blockchain_lifecycle.ts')
-rw-r--r-- | test/utils/blockchain_lifecycle.ts | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/test/utils/blockchain_lifecycle.ts b/test/utils/blockchain_lifecycle.ts index 9fdf0e856..9a44ccd6f 100644 --- a/test/utils/blockchain_lifecycle.ts +++ b/test/utils/blockchain_lifecycle.ts @@ -20,4 +20,7 @@ export class BlockchainLifecycle { throw new Error(`Snapshot with id #${snapshotId} failed to revert`); } } + public async mineABlock(): Promise<void> { + await this.rpc.mineBlockAsync(); + } } |