aboutsummaryrefslogtreecommitdiffstats
path: root/packages
diff options
context:
space:
mode:
authorLeonid Logvinov <logvinov.leon@gmail.com>2018-02-15 03:54:20 +0800
committerLeonid Logvinov <logvinov.leon@gmail.com>2018-02-15 03:54:20 +0800
commit8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c (patch)
tree910d03e9031d0c9f79ad240250cc214a505e3253 /packages
parent599adaf1bf2bee561530b932610f80cd1a9111ee (diff)
downloaddexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar.gz
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar.bz2
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar.lz
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar.xz
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.tar.zst
dexon-sol-tools-8704c34a0fa22d5e46d1cbbf53c4ea9c3e54218c.zip
Fix a typo
Diffstat (limited to 'packages')
-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', () => {