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

Commit

Permalink
test: fix test that sometimes fails on node v20
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmurdoch committed Aug 5, 2023
1 parent 30de957 commit 9227399
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ethereum/options/tests/logging-options.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ describe("EthereumOptionsConfig", () => {
});

afterEach(async () => {
spy.restore();
spy && spy.restore();

await unlink(logfilePath).catch(() => {});
});
Expand Down

0 comments on commit 9227399

Please sign in to comment.