UNPKG

@contract-case/case-core

Version:

Core functionality for the ContractCase contract testing suite

17 lines 716 B
import { RunContext } from '@contract-case/case-plugin-base'; import { CaseConfig } from './types'; export declare const configFromEnv: () => CaseConfig; /** * This function takes a CaseConfig object and turns it into the appropriate * RunContext values. * * Most of the time, this is a passthrough of the config property * to a corresponding currentRun:config property. * * Occasionally you'll want to do explicit processing beyond this, however. * * @param config - the configuration object to map * @returns a Partial RunContext object with anything that was set by the Config */ export declare const configToRunContext: (config: CaseConfig) => Partial<RunContext>; //# sourceMappingURL=config.d.ts.map