hardhat
Version:
Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.
16 lines • 779 B
TypeScript
import type { HardhatConfig } from "../../../types/config.js";
import type { SolidityTestProfileConfig } from "../../../types/test.js";
/**
* Resolves the name of the test profile a run selected, preferring the task
* option over the environment variable over the default.
*
* Only global options get an environment variable fallback for free, so we
* apply the same naming convention by hand for this task option.
*/
export declare function resolveTestProfileName(testProfile?: string): string;
/**
* Returns the declared test profile with the given name, throwing if the
* project doesn't declare it.
*/
export declare function getTestProfile(config: HardhatConfig, testProfileName: string): SolidityTestProfileConfig;
//# sourceMappingURL=select-test-profile.d.ts.map