Skip to content
This repository has been archived by the owner on Feb 26, 2024. It is now read-only.

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Micaiah Reid <micaiahreid@gmail.com>
  • Loading branch information
davidmurdoch and MicaiahReid committed Jun 2, 2022
1 parent 90a4c55 commit e51f359
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/chains/ethereum/ethereum/tests/provider.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ describe("provider", () => {
await provider.disconnect();
});

it("uses time adjustment after evm_setTime when timestampIncrement is used", async () => {
it("uses time adjustment after `evm_setTime` when `timestampIncrement` is used", async () => {
const time = new Date("2019-01-01T00:00:00.000Z");
const timestampIncrement = 5;
const fastForward = 100 * 1000; // 100 seconds
Expand Down Expand Up @@ -114,7 +114,7 @@ describe("provider", () => {
await provider.disconnect();
});

it("uses time adjustment after evm_increaseTime when timestampIncrement is used", async () => {
it("uses time adjustment after `evm_increaseTime` when `timestampIncrement` is used", async () => {
const time = new Date("2019-01-01T00:00:00.000Z");
const timestampIncrement = 5; // seconds
const fastForward = 100; // seconds
Expand All @@ -141,7 +141,7 @@ describe("provider", () => {
await provider.disconnect();
});

it("uses the timestampIncrement for the first block when forking", async () => {
it("uses the `timestampIncrement` for the first block when forking", async () => {
const time = new Date("2019-01-01T00:00:00.000Z");
const timestampIncrement = 5;
const fakeMainnet = await getProvider({
Expand Down Expand Up @@ -184,7 +184,7 @@ describe("provider", () => {
await fakeMainnet.disconnect();
});

it("uses the timestampIncrement option when interval mining", async () => {
it("uses the `timestampIncrement` option when interval mining", async () => {
const time = new Date("2019-01-01T00:00:00.000Z");
const blockTime = 2; // only mine once every 2 seconds
const timestampIncrement = 1; // only increment by 1 second per block
Expand Down

0 comments on commit e51f359

Please sign in to comment.