testeranto 0.125.1 → 0.125.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/lib/types.d.ts +1 -2
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +1 -1
- package/src/lib/types.ts +1 -2
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import { PM } from "../PM";
|
|
2
1
|
import { PM_Node } from "../PM/node";
|
|
3
2
|
import { PM_Pure } from "../PM/pure";
|
|
4
3
|
import { PM_Web } from "../PM/web";
|
|
@@ -6,7 +5,7 @@ import { IT, OT } from "../Types";
|
|
|
6
5
|
import { IGivens, BaseCheck, BaseSuite, BaseGiven, BaseWhen, BaseThen } from "./abstractBase";
|
|
7
6
|
export type IPM = PM_Node | PM_Web | PM_Pure;
|
|
8
7
|
export type ITestCheckCallback<I extends IT, O extends OT> = {
|
|
9
|
-
[K in keyof O["checks"]]: (name: string, features: string[], checkCallback: (store: I["istore"], pm:
|
|
8
|
+
[K in keyof O["checks"]]: (name: string, features: string[], checkCallback: (store: I["istore"], pm: IPM) => Promise<any>, ...xtrasA: O["checks"][K]) => BaseCheck<I>;
|
|
10
9
|
};
|
|
11
10
|
export type ISuiteKlasser<I extends IT, O extends OT> = (name: string, index: number, givens: IGivens<I>, checks: BaseCheck<I>[]) => BaseSuite<I, O>;
|
|
12
11
|
export type IGivenKlasser<I extends IT> = (name: any, features: any, whens: any, thens: any, givenCB: any) => BaseGiven<I>;
|