diff options
author | Fabio Berger <me@fabioberger.com> | 2017-05-26 23:47:00 +0800 |
---|---|---|
committer | Fabio Berger <me@fabioberger.com> | 2017-05-26 23:47:00 +0800 |
commit | a6da9cd07389b317624ad00a3cb73b75820687e1 (patch) | |
tree | a7e488b85e308b9cfa6e4dcd144bfaf2e9843062 /test/utils/blockchain_clean.ts | |
parent | 1d4a52fe15988fb8534c441c539f55dd5d18db1a (diff) | |
download | dexon-0x-contracts-a6da9cd07389b317624ad00a3cb73b75820687e1.tar.gz dexon-0x-contracts-a6da9cd07389b317624ad00a3cb73b75820687e1.tar.zst dexon-0x-contracts-a6da9cd07389b317624ad00a3cb73b75820687e1.zip |
Add missing return types
Diffstat (limited to 'test/utils/blockchain_clean.ts')
-rw-r--r-- | test/utils/blockchain_clean.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/utils/blockchain_clean.ts b/test/utils/blockchain_clean.ts index 6468dbec7..18b7e3a5b 100644 --- a/test/utils/blockchain_clean.ts +++ b/test/utils/blockchain_clean.ts @@ -7,10 +7,10 @@ export class BlockchainClean { this.rpc = new RPC(); } // TODO: Check if running on TestRPC or on actual node, if actual node, re-deploy contracts instead - public async setupAsync() { + public async setupAsync(): Promise<void> { this.snapshotId = await this.rpc.takeSnapshotAsync(); } - public async restoreAsync() { + public async restoreAsync(): Promise<void> { const didRevert = await this.rpc.revertSnapshotAsync(this.snapshotId); if (!didRevert) { throw new Error(`Snapshot with id #${this.snapshotId} failed to revert`); |