testeranto
Version:
the AI powered BDD test framework for typescript projects
20 lines (17 loc) • 637 B
text/typescript
import { Ibdd_in, Ibdd_out } from "../../CoreTypes";
export type I = Ibdd_in<
{}, // iinput
{}, // isubject
{ testStore: { value: string }; error?: Error }, // istore
{ testSelection: { selected: boolean } }, // iselection
() => () => { testStore: { value: string } }, // given
(store: any) => (store: any) => any, // when
(store: any) => (store: any) => any // then
>;
export type O = Ibdd_out<
{ Default: [string] }, // Suites
{ Default: []; WithError: [] }, // Givens
{ modifyStore: [string]; throwError: [] }, // Whens
{ verifyStore: [string]; verifyError: [string] }, // Thens
{ Default: [] } // Checks
>;