diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-27 00:08:50 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-27 00:08:50 +0800 |
commit | 4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1 (patch) | |
tree | f0edc61fc04edfc472c3d1e5b2022ed6e56fcd07 /test/utils | |
parent | d5feb5fc792c54bcf4a3a029ddc404e95a5df166 (diff) | |
download | dexon-0x-contracts-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.gz dexon-0x-contracts-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.tar.zst dexon-0x-contracts-4c3c1d049b0d6dd147a56b3ce9e6ccc17686acf1.zip |
improve comment
Diffstat (limited to 'test/utils')
-rw-r--r-- | test/utils/blockchain_lifecycle.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/utils/blockchain_lifecycle.ts b/test/utils/blockchain_lifecycle.ts index f7342b680..68e169ac0 100644 --- a/test/utils/blockchain_lifecycle.ts +++ b/test/utils/blockchain_lifecycle.ts @@ -6,7 +6,8 @@ export class BlockchainLifecycle { constructor() { this.rpc = new RPC(); } - // TODO: Check if running on TestRPC or on actual node, if actual node, re-deploy contracts instead + // TODO: In order to run these tests on an actual node, we should check if we are running against + // TestRPC, if so, use snapshots, otherwise re-deploy contracts before every test public async startAsync(): Promise<void> { this.snapshotId = await this.rpc.takeSnapshotAsync(); } |