MCPcopy Create free account
hub / github.com/NomicFoundation/hardhat /

Class

packages/hardhat-utils/test/error.ts:7–7  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

5
6describe("CustomError", () => {
7 class MockCustomError extends CustomError {}
8
9 it("should not set the `cause` property to `undefined` if not provided", () => {
10 const error = new MockCustomError("test");

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected