aboutsummaryrefslogtreecommitdiffstats
path: root/packages/dev-utils/test/rpc_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'packages/dev-utils/test/rpc_test.ts')
-rw-r--r--packages/dev-utils/test/rpc_test.ts6
1 files changed, 3 insertions, 3 deletions
diff --git a/packages/dev-utils/test/rpc_test.ts b/packages/dev-utils/test/rpc_test.ts
index 2869fdbc5..2f0e5ff7f 100644
--- a/packages/dev-utils/test/rpc_test.ts
+++ b/packages/dev-utils/test/rpc_test.ts
@@ -22,11 +22,11 @@ describe('RPC tests', () => {
describe('#increaseTimeAsync', () => {
it('increases time when called', async () => {
const TIME_DELTA = 1000;
- const blockTimestamtBefore = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
+ const blockTimestampBefore = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
await rpc.increaseTimeAsync(TIME_DELTA);
await rpc.mineBlockAsync();
- const blockTimestamtAfter = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
- expect(blockTimestamtAfter).to.be.at.least(blockTimestamtBefore + TIME_DELTA);
+ const blockTimestampAfter = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
+ expect(blockTimestampAfter).to.be.at.least(blockTimestampBefore + TIME_DELTA);
});
});
describe('#takeSnapshotAsync/revertSnapshotAsync', () => {