Skip to content

Commit 4c49eda

Browse files
committed
Fix linter errors
1 parent b437191 commit 4c49eda

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/hardhat-network-helpers/src/helpers/reset.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ export async function reset(
88
blockNumber?: NumberLike
99
): Promise<void> {
1010
const provider = await getHardhatProvider();
11-
clearSnapshots();
11+
await clearSnapshots();
1212
if (url === undefined) {
1313
await provider.request({
1414
method: "hardhat_reset",

packages/hardhat-network-helpers/test/helpers/reset.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ describe("resetWithoutFork", function () {
5555
});
5656
});
5757

58-
describe("should clear snapshot upon reset", async function () {
58+
describe("should clear snapshot upon reset", function () {
5959
useEnvironment("simple");
6060
it("checks if the snapshot is cleared upon hardhat_reset", async function () {
6161
const snapshotBeforeReset = await hh.takeSnapshot();

0 commit comments

Comments
 (0)