Fix a typo

This commit is contained in:
Leonid Logvinov 2018-02-14 11:54:20 -08:00
parent 599adaf1bf
commit 8704c34a0f
No known key found for this signature in database
GPG Key ID: 0DD294BFDE8C95D4

View File

@ -22,11 +22,11 @@ describe('RPC tests', () => {
describe('#increaseTimeAsync', () => { describe('#increaseTimeAsync', () => {
it('increases time when called', async () => { it('increases time when called', async () => {
const TIME_DELTA = 1000; 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.increaseTimeAsync(TIME_DELTA);
await rpc.mineBlockAsync(); await rpc.mineBlockAsync();
const blockTimestamtAfter = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest); const blockTimestampAfter = await web3Wrapper.getBlockTimestampAsync(BlockParamLiteral.Latest);
expect(blockTimestamtAfter).to.be.at.least(blockTimestamtBefore + TIME_DELTA); expect(blockTimestampAfter).to.be.at.least(blockTimestampBefore + TIME_DELTA);
}); });
}); });
describe('#takeSnapshotAsync/revertSnapshotAsync', () => { describe('#takeSnapshotAsync/revertSnapshotAsync', () => {