aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/test/rpc_test.ts
diff options
context:
space:
mode:
authorfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
committerfragosti <francesco.agosti93@gmail.com>2018-06-05 10:48:21 +0800
commit9778695b4ad1fd999eb79b01c768a2f2b9938917 (patch)
tree3c44cd0e16474966f88af5b75846c1d6b7521188 /packages/dev-utils/test/rpc_test.ts
parent70858603ed37de24ae47978a191b3f188f450182 (diff)
downloaddexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.gz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.bz2
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.lz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.xz
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.tar.zst
dexon-0x-contracts-9778695b4ad1fd999eb79b01c768a2f2b9938917.zip
Try enabling no-unused-variable...
Diffstat (limited to 'packages/dev-utils/test/rpc_test.ts')
-rw-r--r--packages/dev-utils/test/rpc_test.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/dev-utils/test/rpc_test.ts b/packages/dev-utils/test/rpc_test.ts
index cff946e23..68842ed3a 100644
--- a/packages/dev-utils/test/rpc_test.ts
+++ b/packages/dev-utils/test/rpc_test.ts
@@ -16,6 +16,7 @@ describe('RPC tests', () => {
const blockNumberBefore = await web3Wrapper.getBlockNumberAsync();
await web3Wrapper.mineBlockAsync();
const blockNumberAfter = await web3Wrapper.getBlockNumberAsync();
+ // tslint:disable-next-line:restrict-plus-operands
expect(blockNumberAfter).to.be.equal(blockNumberBefore + 1);
});
});
@@ -26,6 +27,7 @@ describe('RPC tests', () => {
await web3Wrapper.increaseTimeAsync(TIME_DELTA);
await web3Wrapper.mineBlockAsync();
const blockTimestampAfter = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
+ // tslint:disable-next-line:restrict-plus-operands
expect(blockTimestampAfter).to.be.at.least(blockTimestampBefore + TIME_DELTA);
});
});