testeranto 0.82.0 → 0.85.0

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.
Files changed (71) hide show
  1. package/README.md +0 -2
  2. package/dist/common/package.json +3 -0
  3. package/dist/common/src/Node.js +2 -0
  4. package/dist/common/src/PM/main.js +182 -79
  5. package/dist/common/src/PM/node.js +32 -6
  6. package/dist/common/src/PM/web.js +28 -54
  7. package/dist/common/src/Project.js +0 -3
  8. package/dist/common/src/Puppeteer.js +9 -51
  9. package/dist/common/src/SubPackages/react-dom/jsx/web.js +11 -11
  10. package/dist/common/src/Web.js +2 -0
  11. package/dist/common/src/esbuildConfigs/featuresPlugin.js +39 -0
  12. package/dist/common/src/esbuildConfigs/inputFilesPlugin.js +62 -41
  13. package/dist/common/src/esbuildConfigs/node.js +10 -3
  14. package/dist/common/src/esbuildConfigs/web.js +6 -2
  15. package/dist/common/src/lib/abstractBase.js +343 -335
  16. package/dist/common/src/lib/basebuilder.js +7 -3
  17. package/dist/common/src/lib/core.js +1 -1
  18. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  19. package/dist/module/package.json +3 -0
  20. package/dist/module/src/Node.js +1 -1
  21. package/dist/module/src/PM/main.js +182 -79
  22. package/dist/module/src/PM/node.js +32 -6
  23. package/dist/module/src/PM/web.js +28 -51
  24. package/dist/module/src/Project.js +0 -3
  25. package/dist/module/src/Puppeteer.js +9 -51
  26. package/dist/module/src/SubPackages/react-dom/jsx/web.js +10 -10
  27. package/dist/module/src/Web.js +1 -1
  28. package/dist/module/src/esbuildConfigs/featuresPlugin.js +34 -0
  29. package/dist/module/src/esbuildConfigs/inputFilesPlugin.js +62 -41
  30. package/dist/module/src/esbuildConfigs/node.js +10 -3
  31. package/dist/module/src/esbuildConfigs/web.js +6 -2
  32. package/dist/module/src/lib/abstractBase.js +343 -335
  33. package/dist/module/src/lib/basebuilder.js +7 -3
  34. package/dist/module/src/lib/core.js +1 -1
  35. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  36. package/dist/prebuild/Puppeteer.mjs +82033 -0
  37. package/dist/types/src/Node.d.ts +5 -1
  38. package/dist/types/src/PM/index.d.ts +10 -4
  39. package/dist/types/src/PM/main.d.ts +21 -9
  40. package/dist/types/src/PM/node.d.ts +11 -3
  41. package/dist/types/src/PM/web.d.ts +11 -2
  42. package/dist/types/src/SubPackages/react-dom/jsx/index.d.ts +1 -0
  43. package/dist/types/src/SubPackages/react-test-renderer/jsx/index.d.ts +1 -0
  44. package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/index.d.ts +1 -0
  45. package/dist/types/src/Types.d.ts +2 -2
  46. package/dist/types/src/Web.d.ts +5 -1
  47. package/dist/types/src/esbuildConfigs/featuresPlugin.d.ts +5 -0
  48. package/dist/types/src/esbuildConfigs/inputFilesPlugin.d.ts +4 -2
  49. package/dist/types/src/lib/abstractBase.d.ts +5 -5
  50. package/dist/types/src/lib/types.d.ts +7 -5
  51. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  52. package/package.json +18 -41
  53. package/pupBuild.js +18 -0
  54. package/src/Node.ts +1 -3
  55. package/src/PM/index.ts +12 -3
  56. package/src/PM/main.ts +300 -164
  57. package/src/PM/node.ts +40 -6
  58. package/src/PM/web.ts +108 -58
  59. package/src/Project.ts +0 -8
  60. package/src/Puppeteer.ts +11 -57
  61. package/src/SubPackages/react-dom/jsx/web.ts +15 -10
  62. package/src/Types.ts +5 -2
  63. package/src/Web.ts +1 -1
  64. package/src/esbuildConfigs/featuresPlugin.ts +43 -0
  65. package/src/esbuildConfigs/inputFilesPlugin.ts +98 -66
  66. package/src/esbuildConfigs/node.ts +18 -3
  67. package/src/esbuildConfigs/web.ts +14 -2
  68. package/src/lib/abstractBase.ts +381 -364
  69. package/src/lib/basebuilder.ts +7 -7
  70. package/src/lib/core.ts +1 -1
  71. package/src/lib/types.ts +13 -5
@@ -1,6 +1,10 @@
1
1
  import Testeranto from "./lib/core.js";
2
2
  import { ITTestResourceRequest } from "./lib/index.js";
3
3
  import type { IBaseTest, ITestImplementation, ITestSpecification } from "./Types.js";
4
- import { INodeTestInterface } from "./lib/types.js";
4
+ import { ITestInterface, INodeTestInterface } from "./lib/types.js";
5
+ export declare class NodeTesteranto<TestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> extends Testeranto<TestShape> {
6
+ constructor(input: TestShape["iinput"], testSpecification: ITestSpecification<TestShape>, testImplementation: ITestImplementation<TestShape>, testResourceRequirement: ITTestResourceRequest, testInterface: Partial<ITestInterface<TestShape>>);
7
+ receiveTestResourceConfig(partialTestResource: string): Promise<string[]>;
8
+ }
5
9
  declare const _default: <ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<INodeTestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
6
10
  export default _default;
@@ -1,10 +1,7 @@
1
- import { Browser, Page } from "puppeteer-core/lib/esm/puppeteer/puppeteer-core-browser";
2
1
  import { ITLog, ITTestResourceConfiguration } from "../lib";
3
2
  export declare abstract class PM {
4
3
  server: any;
5
- browser: Browser;
6
4
  testResourceConfiguration: ITTestResourceConfiguration;
7
- abstract startPuppeteer(options: any, destfolder: string): Promise<Browser>;
8
5
  abstract testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): any;
9
6
  abstract createWriteStream(filepath: string): any;
10
7
  abstract writeFileSync(fp: string, contents: string): any;
@@ -16,5 +13,14 @@ export declare abstract class PM {
16
13
  abstract end(accessObject: {
17
14
  uid: number;
18
15
  }): boolean;
19
- abstract customScreenShot(opts: object, page: Page): any;
16
+ abstract customScreenShot(opts: object): any;
17
+ abstract screencast(opts: object): any;
18
+ abstract page(): string | undefined;
19
+ abstract click(selector: string): any;
20
+ abstract focusOn(selector: string): any;
21
+ abstract typeInto(value: string): any;
22
+ abstract getValue(value: string): any;
23
+ abstract getAttribute(selector: string, attribute: string): any;
24
+ abstract isDisabled(selector: string): boolean;
25
+ abstract $(selector: string): any;
20
26
  }
@@ -2,27 +2,22 @@
2
2
  /// <reference types="node" />
3
3
  /// <reference types="node" />
4
4
  import fs from "fs";
5
+ import { Browser } from "puppeteer-core";
5
6
  import { PassThrough } from "stream";
6
7
  import { IBuiltConfig, ITestTypes } from "../lib/types";
7
8
  import { PM } from "./index.js";
8
9
  import { ITLog } from "../lib/index.js";
9
10
  export declare class PM_Main extends PM {
11
+ browser: Browser;
10
12
  shutdownMode: boolean;
11
13
  configs: IBuiltConfig;
12
14
  ports: Record<number, boolean>;
13
15
  queue: any[];
14
16
  registry: Record<string, boolean>;
15
17
  constructor(configs: IBuiltConfig);
16
- shutDown(): void;
18
+ $(selector: string): boolean;
19
+ screencast(opts: object): void;
17
20
  customScreenShot(opts: object): void;
18
- startPuppeteer(options: any, destfolder: string): Promise<any>;
19
- checkForShutdown: () => void;
20
- register: (src: string) => void;
21
- deregister: (src: string) => void;
22
- launchNode: (src: string, dest: string) => Promise<void>;
23
- launchWebSideCar: (src: string, dest: string, testConfig: ITestTypes) => Promise<unknown>;
24
- launchNodeSideCar: (src: string, dest: string, testConfig: ITestTypes) => Promise<void>;
25
- launchWeb: (t: string, dest: string, sidecars: ITestTypes[]) => void;
26
21
  end(accessObject: {
27
22
  uid: number;
28
23
  }): boolean;
@@ -34,4 +29,21 @@ export declare class PM_Main extends PM {
34
29
  write(accessObject: {
35
30
  uid: number;
36
31
  }, contents: string): boolean;
32
+ page(): string | undefined;
33
+ click(selector: string): string | undefined;
34
+ focusOn(selector: string): void;
35
+ typeInto(value: string): void;
36
+ getValue(value: string): void;
37
+ getAttribute(selector: string, attribute: string): void;
38
+ isDisabled(selector: string): boolean;
39
+ startPuppeteer(options: any, destfolder: string): Promise<any>;
40
+ shutDown(): void;
41
+ checkForShutdown: () => void;
42
+ register: (src: string) => void;
43
+ deregister: (src: string) => void;
44
+ launchNode: (src: string, dest: string) => Promise<void>;
45
+ launchWebSideCar: (src: string, dest: string, testConfig: ITestTypes) => Promise<unknown>;
46
+ launchNodeSideCar: (src: string, dest: string, testConfig: ITestTypes) => Promise<void>;
47
+ launchWeb: (t: string, dest: string, sidecars: ITestTypes[]) => void;
48
+ receiveFeatures: (features: string[], destFolder: string) => void;
37
49
  }
@@ -3,13 +3,21 @@
3
3
  import { PassThrough } from "stream";
4
4
  import { ITLog, ITTestResourceConfiguration } from "../lib";
5
5
  import { PM } from "./index.js";
6
- import { Page } from "puppeteer-core/lib/esm/puppeteer";
7
6
  declare type PuppetMasterServer = Record<string, Promise<any>>;
8
7
  export declare class PM_Node extends PM {
9
8
  server: PuppetMasterServer;
10
9
  testResourceConfiguration: ITTestResourceConfiguration;
11
10
  constructor(t: ITTestResourceConfiguration);
12
- customScreenShot(opts: object, page: Page): any;
11
+ $(selector: string): boolean;
12
+ screencast(opts: object): void;
13
+ isDisabled(selector: string): boolean;
14
+ getAttribute(selector: string, attribute: string): void;
15
+ getValue(selector: string): void;
16
+ focusOn(selector: string): void;
17
+ typeInto(value: string): void;
18
+ page(): any;
19
+ click(selector: string): string | undefined;
20
+ customScreenShot(opts: object): any;
13
21
  existsSync(destFolder: string): boolean;
14
22
  mkdirSync(): any;
15
23
  write(writeObject: {
@@ -22,6 +30,6 @@ export declare class PM_Node extends PM {
22
30
  }): any;
23
31
  customclose(): void;
24
32
  testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): (fPath: any, value: string | Buffer | PassThrough) => void;
25
- startPuppeteer(options?: any): Promise<any>;
33
+ startPuppeteer(options?: any): any;
26
34
  }
27
35
  export {};
@@ -3,11 +3,21 @@
3
3
  import { PassThrough } from "stream";
4
4
  import { ITLog, ITTestResourceConfiguration } from "../lib";
5
5
  import { PM } from "./index.js";
6
+ import { ScreenshotOptions } from "puppeteer-core";
6
7
  declare type PuppetMasterServer = Record<string, Promise<any>>;
7
8
  export declare class PM_Web extends PM {
8
9
  server: PuppetMasterServer;
9
10
  constructor(t: ITTestResourceConfiguration);
10
- customScreenShot(opts: object): void;
11
+ $(selector: string): boolean;
12
+ screencast(opts: object): void;
13
+ isDisabled(selector: string): boolean;
14
+ getAttribute(selector: string, attribute: string): any;
15
+ getValue(selector: string): any;
16
+ focusOn(selector: string): any;
17
+ typeInto(value: string): any;
18
+ page(): string | undefined;
19
+ click(selector: string): any;
20
+ customScreenShot(opts: ScreenshotOptions): any;
11
21
  existsSync(destFolder: string): boolean;
12
22
  mkdirSync(): any;
13
23
  write(writeObject: {
@@ -20,6 +30,5 @@ export declare class PM_Web extends PM {
20
30
  }): any;
21
31
  customclose(): void;
22
32
  testArtiFactoryfileWriter(tLog: ITLog, callback: (Promise: any) => void): (fPath: any, value: string | Buffer | PassThrough) => void;
23
- startPuppeteer(options: any, destFolder: string): Promise<any>;
24
33
  }
25
34
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export declare type IInput = (props?: any) => JSX.Element;
2
3
  export declare type IState = unknown;
3
4
  export declare type ISelection = HTMLElement;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import renderer from "react-test-renderer";
2
3
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
3
4
  export declare type IWhenShape = any;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import renderer from "react-test-renderer";
2
3
  import { IBaseTest, ITestImplementation, ITestSpecification } from "../../../Types";
3
4
  export declare type IWhenShape = any;
@@ -24,10 +24,10 @@ export declare type ITestImplementation<ITestShape extends IBaseTest<unknown, un
24
24
  [K in keyof ITestShape["givens"]]: (...Ig: ITestShape["givens"][K]) => ITestShape["given"];
25
25
  };
26
26
  whens: {
27
- [K in keyof ITestShape["whens"]]: (...Iw: ITestShape["whens"][K]) => (zel: ITestShape["iselection"], utils: PM) => ITestShape["when"];
27
+ [K in keyof ITestShape["whens"]]: (...Iw: ITestShape["whens"][K]) => (zel: ITestShape["iselection"], utils: PM) => Promise<ITestShape["when"]>;
28
28
  };
29
29
  thens: {
30
- [K in keyof ITestShape["thens"]]: (...It: ITestShape["thens"][K]) => (ssel: ITestShape["iselection"]) => ITestShape["then"];
30
+ [K in keyof ITestShape["thens"]]: (...It: ITestShape["thens"][K]) => (ssel: ITestShape["iselection"], utils: PM) => ITestShape["then"];
31
31
  };
32
32
  checks: {
33
33
  [K in keyof ITestShape["checks"]]: (...Ic: ITestShape["checks"][K]) => ITestShape["given"];
@@ -1,6 +1,10 @@
1
1
  import type { IBaseTest, ITestImplementation, ITestSpecification } from "./Types";
2
2
  import Testeranto from "./lib/core.js";
3
3
  import { ITTestResourceRequest } from "./lib/index.js";
4
- import { IWebTestInterface } from "./lib/types";
4
+ import { ITestInterface, IWebTestInterface } from "./lib/types";
5
+ export declare class WebTesteranto<TestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> extends Testeranto<TestShape> {
6
+ constructor(input: TestShape["iinput"], testSpecification: ITestSpecification<TestShape>, testImplementation: ITestImplementation<TestShape>, testResourceRequirement: ITTestResourceRequest, testInterface: Partial<ITestInterface<TestShape>>);
7
+ receiveTestResourceConfig(partialTestResource: any): Promise<string[]>;
8
+ }
5
9
  declare const _default: <ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(input: ITestShape["iinput"], testSpecification: ITestSpecification<ITestShape>, testImplementation: ITestImplementation<ITestShape, object>, testInterface: Partial<IWebTestInterface<ITestShape>>, testResourceRequirement?: ITTestResourceRequest) => Promise<Testeranto<ITestShape>>;
6
10
  export default _default;
@@ -0,0 +1,5 @@
1
+ declare const _default: {
2
+ name: string;
3
+ setup(build: any): void;
4
+ };
5
+ export default _default;
@@ -1,5 +1,7 @@
1
+ import type { Plugin } from "esbuild";
2
+ declare const register: (entrypoint: string, sources: string[]) => void;
1
3
  declare const _default: (platform: "web" | "node", entryPoints: Set<string> | string[]) => {
2
- name: string;
3
- setup(build: any): void;
4
+ register: (entrypoint: string, sources: string[]) => void;
5
+ inputFilesPluginFactory: Plugin;
4
6
  };
5
7
  export default _default;
@@ -11,7 +11,7 @@ export declare abstract class BaseSuite<ITestShape extends IBaseTest<unknown, un
11
11
  testResourceConfiguration: ITTestResourceConfiguration;
12
12
  index: number;
13
13
  constructor(name: string, index: number, givens?: IGivens<ITestShape>, checks?: BaseCheck<ITestShape>[]);
14
- features(): {};
14
+ features(): string[];
15
15
  toObj(): {
16
16
  name: string;
17
17
  givens: {
@@ -28,7 +28,7 @@ export declare abstract class BaseSuite<ITestShape extends IBaseTest<unknown, un
28
28
  features: string[];
29
29
  }[];
30
30
  fails: BaseGiven<ITestShape>[];
31
- features: {};
31
+ features: string[];
32
32
  };
33
33
  setup(s: ITestShape["iinput"], artifactory: ITestArtifactory, tr: ITTestResourceConfiguration, pm: PM): Promise<ITestShape["isubject"]>;
34
34
  assertThat(t: ITestShape["then"]): unknown;
@@ -63,19 +63,19 @@ export declare abstract class BaseGiven<ITestShape extends IBaseTest<unknown, un
63
63
  };
64
64
  abstract givenThat(subject: ITestShape["isubject"], testResourceConfiguration: any, artifactory: ITestArtifactory, givenCB: ITestShape["given"], pm: PM): Promise<ITestShape["istore"]>;
65
65
  afterEach(store: ITestShape["istore"], key: string, artifactory: ITestArtifactory, pm: PM): Promise<unknown>;
66
- give(subject: ITestShape["isubject"], key: string, testResourceConfiguration: any, tester: (t: Awaited<ITestShape["then"]> | undefined) => boolean, artifactory: ITestArtifactory, tLog: ITLog, pm: PM, suiteNdx: number): Promise<ITestShape["istore"]>;
66
+ give(subject: ITestShape["isubject"], key: string, testResourceConfiguration: ITTestResourceConfiguration, tester: (t: Awaited<ITestShape["then"]> | undefined) => boolean, artifactory: ITestArtifactory, tLog: ITLog, pm: PM, suiteNdx: number): Promise<ITestShape["istore"]>;
67
67
  }
68
68
  export declare abstract class BaseWhen<ITestShape extends IBaseTest> {
69
69
  name: string;
70
70
  whenCB: (x: ITestShape["iselection"]) => ITestShape["then"];
71
71
  error: boolean;
72
72
  constructor(name: string, whenCB: (xyz: ITestShape["iselection"]) => ITestShape["then"]);
73
- abstract andWhen(store: ITestShape["istore"], whenCB: (x: ITestShape["iselection"]) => ITestShape["then"], testResource: any, pm: PM): any;
73
+ abstract andWhen(store: ITestShape["istore"], whenCB: (x: ITestShape["iselection"]) => ITestShape["then"], testResource: any, pm: PM): Promise<any>;
74
74
  toObj(): {
75
75
  name: string;
76
76
  error: boolean;
77
77
  };
78
- test(store: ITestShape["istore"], testResourceConfiguration: any, tLog: ITLog, pm: PM, key: string): Promise<any>;
78
+ test(store: ITestShape["istore"], testResourceConfiguration: any, tLog: ITLog, pm: PM, filepath: string): Promise<any>;
79
79
  }
80
80
  export declare abstract class BaseThen<ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> {
81
81
  name: string;
@@ -1,4 +1,5 @@
1
1
  import { IBaseTest } from "../Types";
2
+ import type { Plugin } from "esbuild";
2
3
  import { IGivens, BaseCheck, BaseSuite, BaseGiven, BaseWhen, BaseThen } from "./abstractBase";
3
4
  import { ITTestResourceConfiguration, ITestArtificer } from ".";
4
5
  import { PM } from "../PM/index";
@@ -11,19 +12,20 @@ export declare type IJsonConfig = {
11
12
  tests: ITestTypes[];
12
13
  botEmail: string;
13
14
  };
15
+ export declare type IPlugin = (register: (entrypoint: any, sources: any) => any, entrypoints: any) => Plugin;
14
16
  export declare type IBaseConfig = {
15
17
  clearScreen: boolean;
16
18
  debugger: boolean;
17
19
  devMode: boolean;
18
20
  externals: string[];
19
21
  minify: boolean;
20
- nodePlugins: any[];
21
22
  outbase: string;
22
23
  outdir: string;
23
24
  ports: string[];
24
25
  tests: ITestTypes[];
25
- webPlugins: any[];
26
- botEmail: string;
26
+ nodePlugins: IPlugin[];
27
+ webPlugins: IPlugin[];
28
+ featureIngestor: (s: string) => Promise<string>;
27
29
  };
28
30
  export declare type IBuiltConfig = {
29
31
  buildDir: string;
@@ -31,7 +33,7 @@ export declare type IBuiltConfig = {
31
33
  export declare type IWebTestInterface<ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = {
32
34
  assertThis: (x: ITestShape["then"]) => void;
33
35
  andWhen: (store: ITestShape["istore"], whenCB: ITestShape["when"], testResource: ITTestResourceConfiguration, utils: PM) => Promise<ITestShape["istore"]>;
34
- butThen: (store: ITestShape["istore"], thenCB: any, testResource: ITTestResourceConfiguration) => Promise<ITestShape["iselection"]>;
36
+ butThen: (store: ITestShape["istore"], thenCB: any, testResource: ITTestResourceConfiguration, utils: PM) => Promise<ITestShape["iselection"]>;
35
37
  afterAll: (store: ITestShape["istore"], artificer: ITestArtificer, utils: PM) => any;
36
38
  afterEach: (store: ITestShape["istore"], key: string, artificer: ITestArtificer, utils: PM) => Promise<unknown>;
37
39
  beforeAll: (input: ITestShape["iinput"], testResource: ITTestResourceConfiguration, artificer: ITestArtificer, utils: PM) => Promise<ITestShape["isubject"]>;
@@ -53,7 +55,7 @@ export declare type ITestInterface<ITestShape extends IBaseTest<unknown, unknown
53
55
  afterAll: (store: ITestShape["istore"], artificer: ITestArtificer, pm: PM) => any;
54
56
  afterEach: (store: ITestShape["istore"], key: string, artificer: ITestArtificer, pm: PM) => Promise<unknown>;
55
57
  beforeAll: (input: ITestShape["iinput"], testResource: ITTestResourceConfiguration, artificer: ITestArtificer, pm: PM) => Promise<ITestShape["isubject"]>;
56
- beforeEach: (subject: ITestShape["isubject"], initializer: (c?: any) => ITestShape["given"], artificer: ITestArtificer, testResource: ITTestResourceConfiguration, initialValues: any, pm: PM) => Promise<ITestShape["istore"]>;
58
+ beforeEach: (subject: ITestShape["isubject"], initializer: (c?: any) => ITestShape["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: PM) => Promise<ITestShape["istore"]>;
57
59
  };
58
60
  export declare type ISuiteKlasser<ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = (name: string, index: number, givens: IGivens<ITestShape>, checks: BaseCheck<ITestShape>[]) => BaseSuite<ITestShape>;
59
61
  export declare type IGivenKlasser<ITestShape extends IBaseTest<unknown, unknown, unknown, unknown, unknown, unknown, unknown, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = (name: any, features: any, whens: any, thens: any, givenCB: any) => BaseGiven<ITestShape>;