Fix a typo
This commit is contained in:
parent
599adaf1bf
commit
8704c34a0f
@ -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', () => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user