UNPKG

hardhat

Version:

Hardhat is an extensible developer tool that helps smart contract developers increase productivity by reliably bringing together the tools they want.

15 lines 609 B
import { resolveCoverageConfig, validateCoverageUserConfig, } from "../config.js"; export default async () => { const handlers = { validateUserConfig: async (userConfig) => validateCoverageUserConfig(userConfig), resolveUserConfig: async (userConfig, resolveConfigurationVariable, next) => { const resolvedConfig = await next(userConfig, resolveConfigurationVariable); return { ...resolvedConfig, coverage: resolveCoverageConfig(userConfig), }; }, }; return handlers; }; //# sourceMappingURL=config.js.map