@redocly/respect-core
Version:
API testing framework core
13 lines • 892 B
TypeScript
import type { CollectFn, Config } from '@redocly/openapi-core';
import type { TestContext, RunOptions, Workflow, RunWorkflowInput, WorkflowExecutionResult, ExecutedStepsCount } from '../../types.js';
export declare function runTestFile({ options, collectSpecData, executedStepsCount, }: {
options: RunOptions;
collectSpecData?: CollectFn;
executedStepsCount: ExecutedStepsCount;
}): Promise<{
ctx: TestContext;
executedWorkflows: WorkflowExecutionResult[];
}>;
export declare function runWorkflow({ workflowInput, ctx, fromStepId, skipLineSeparator, parentStepId, invocationContext, executedStepsCount, retriesLeft, }: RunWorkflowInput): Promise<WorkflowExecutionResult>;
export declare function resolveWorkflowContext(workflowId: string | undefined, resolvedWorkflow: Workflow, ctx: TestContext, config: Config): Promise<TestContext>;
//# sourceMappingURL=runner.d.ts.map