UNPKG

testeranto

Version:

the AI powered BDD test framework for typescript projects

60 lines (59 loc) 1.32 kB
import { Ibdd_in, Ibdd_out } from "./CoreTypes"; import { IPM } from "./lib/types"; type I = Ibdd_in<null, // No initial input needed IPM, // Test subject is IPM { pm: IPM; artifacts?: any[]; testJobs?: any[]; specs?: any[]; largePayload?: boolean; }, // Store contains PM instance { pm: IPM; }, // Selection is same as store () => { pm: IPM; config: {}; proxies: any; }, // Given returns initial state (store: { pm: IPM; [key: string]: any; }) => { pm: IPM; [key: string]: any; }, // When modifies store (store: { pm: IPM; [key: string]: any; }) => { pm: IPM; [key: string]: any; }>; type O = Ibdd_out<{ Default: [string]; }, { Default: []; }, { applyProxy: [string]; verifyCall: [string, any]; addArtifact: [Promise<string>]; setTestJobs: [any[]]; modifySpecs: [(specs: any) => any[]]; }, { verifyProxy: [string]; verifyNoProxy: []; verifyResourceConfig: []; verifyError: [string]; verifyLargePayload: []; verifyTypeSafety: []; initializedProperly: []; specsGenerated: []; jobsCreated: []; artifactsTracked: []; testRunSuccessful: []; specsModified: [number]; }>; declare const _default: Promise<number | import("./lib/core").default<I, O, {}>>; export default _default;