testeranto 0.47.24 → 0.47.26

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 (38) hide show
  1. package/dist/common/subPackages/{react/jsx/mounted.web.js → react-dom/component/node.js} +2 -2
  2. package/dist/common/subPackages/react-dom/jsx/web.js +76 -0
  3. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  4. package/dist/module/subPackages/{react/jsx/mounted.web.js → react-dom/component/node.js} +1 -1
  5. package/dist/module/subPackages/react-dom/jsx/web.js +48 -0
  6. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  7. package/dist/types/Node.d.ts +9 -9
  8. package/dist/types/Web.d.ts +9 -9
  9. package/dist/types/subPackages/react/component/node.d.ts +10 -7
  10. package/dist/types/subPackages/react/component/web.d.ts +4 -4
  11. package/dist/types/subPackages/react/jsx/node.d.ts +6 -4
  12. package/dist/types/subPackages/react/jsx/web.d.ts +6 -4
  13. package/dist/types/subPackages/react-dom/component/node.d.ts +19 -0
  14. package/dist/types/subPackages/react-dom/component/web.d.ts +19 -0
  15. package/dist/types/subPackages/react-dom/jsx/web.d.ts +16 -0
  16. package/dist/types/subPackages/react-test-render/component/node.d.ts +6 -6
  17. package/dist/types/subPackages/react-test-render/component/web.d.ts +6 -6
  18. package/dist/types/subPackages/react-test-render/jsx/node.d.ts +6 -6
  19. package/dist/types/subPackages/react-test-render/jsx/web.d.ts +7 -7
  20. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  21. package/package.json +1 -1
  22. package/src/Node.ts +21 -15
  23. package/src/Web.ts +19 -13
  24. package/src/subPackages/react/component/node.ts +38 -15
  25. package/src/subPackages/react/component/web.ts +10 -10
  26. package/src/subPackages/react/jsx/node.ts +19 -13
  27. package/src/subPackages/react/jsx/web.ts +19 -13
  28. package/src/subPackages/{react/jsx/mounted.web.ts → react-dom/component/node.ts} +24 -18
  29. package/src/subPackages/{react/component/mounted.web.ts → react-dom/component/web.ts} +23 -17
  30. package/src/subPackages/react-dom/jsx/web.ts +117 -0
  31. package/src/subPackages/react-test-render/component/node.ts +16 -10
  32. package/src/subPackages/react-test-render/component/web.ts +16 -10
  33. package/src/subPackages/react-test-render/jsx/node.ts +13 -7
  34. package/src/subPackages/react-test-render/jsx/web.ts +16 -11
  35. package/dist/types/subPackages/react/component/mounted.web.d.ts +0 -12
  36. package/dist/types/subPackages/react/jsx/mounted.web.d.ts +0 -12
  37. /package/dist/common/subPackages/{react/component/mounted.web.js → react-dom/component/web.js} +0 -0
  38. /package/dist/module/subPackages/{react/component/mounted.web.js → react-dom/component/web.js} +0 -0
@@ -0,0 +1,19 @@
1
+ import React, { CElement } from "react";
2
+ import { ITTestShape, ITestImplementation, ITestSpecification } from "../../../core";
3
+ declare type IInput = typeof React.Component;
4
+ declare type InitialState = unknown;
5
+ declare type IWhenShape = any;
6
+ declare type IThenShape = any;
7
+ declare type ISelection = {
8
+ htmlElement: HTMLElement;
9
+ reactElement: CElement<any, any>;
10
+ };
11
+ declare type IStore = {
12
+ htmlElement: HTMLElement;
13
+ reactElement: CElement<any, any>;
14
+ };
15
+ declare type ISubject = {
16
+ htmlElement: HTMLElement;
17
+ };
18
+ declare const _default: <ITestShape extends ITTestShape>(testImplementations: ITestImplementation<unknown, ISelection, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, ISelection, any>, testInput: IInput) => Promise<void>;
19
+ export default _default;
@@ -0,0 +1,16 @@
1
+ /// <reference types="react" />
2
+ import { ITTestShape, ITestImplementation, ITestSpecification } from "../../../core";
3
+ declare type InitialState = unknown;
4
+ declare type IWhenShape = any;
5
+ declare type IThenShape = any;
6
+ declare type ISelection = IStore;
7
+ declare type Prototype = () => JSX.Element;
8
+ declare type IStore = {
9
+ root: HTMLElement;
10
+ react: HTMLElement;
11
+ };
12
+ declare type ISubject = {
13
+ root: HTMLElement;
14
+ };
15
+ declare const _default: <ITestShape extends ITTestShape>(testImplementations: ITestImplementation<unknown, IStore, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, IStore, any>, testInput: Prototype) => Promise<void>;
16
+ export default _default;
@@ -1,20 +1,20 @@
1
1
  import React, { CElement } from "react";
2
2
  import renderer from "react-test-renderer";
3
- import { ITestImplementation, ITTestShape } from "../../../core";
3
+ import { ITestImplementation, ITestSpecification, ITTestShape } from "../../../core";
4
4
  export declare type IInput = typeof React.Component;
5
5
  export declare type InitialState = unknown;
6
- export declare type WhenShape = any;
7
- export declare type ThenShape = any;
6
+ export declare type IWhenShape = any;
7
+ export declare type IThenShape = any;
8
8
  export declare type ISelection = {
9
9
  htmlElement: HTMLElement;
10
10
  reactElement: CElement<any, any>;
11
11
  };
12
- export declare type Store = {
12
+ export declare type IStore = {
13
13
  htmlElement: HTMLElement;
14
14
  reactElement: CElement<any, any>;
15
15
  };
16
- export declare type Subject = {
16
+ export declare type ISubject = {
17
17
  htmlElement: HTMLElement;
18
18
  };
19
19
  export {};
20
- export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, PropShape, StateShape>(testImplementations: ITestImplementation<PropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: any, testInput: IInput) => Promise<void>;
20
+ export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, IPropShape, IStateShape>(testImplementations: ITestImplementation<IPropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, ISelection, any>, testInput: IInput) => Promise<void>;
@@ -1,20 +1,20 @@
1
1
  import React, { CElement } from "react";
2
2
  import renderer from "react-test-renderer";
3
- import { ITTestShape, ITestImplementation } from "../../../core";
3
+ import { ITTestShape, ITestImplementation, ITestSpecification } from "../../../core";
4
4
  export declare type IInput = typeof React.Component;
5
5
  export declare type InitialState = unknown;
6
- export declare type WhenShape = any;
7
- export declare type ThenShape = any;
6
+ export declare type IWhenShape = any;
7
+ export declare type IThenShape = any;
8
8
  export declare type ISelection = {
9
9
  htmlElement: HTMLElement;
10
10
  reactElement: CElement<any, any>;
11
11
  };
12
- export declare type Store = {
12
+ export declare type IStore = {
13
13
  htmlElement: HTMLElement;
14
14
  reactElement: CElement<any, any>;
15
15
  };
16
- export declare type Subject = {
16
+ export declare type ISubject = {
17
17
  htmlElement: HTMLElement;
18
18
  };
19
19
  export {};
20
- export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, PropShape, StateShape>(testImplementations: ITestImplementation<PropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: any, testInput: IInput) => Promise<void>;
20
+ export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, IPropShape, IStateShape>(testImplementations: ITestImplementation<IPropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, ISelection, any>, testInput: IInput) => Promise<void>;
@@ -1,20 +1,20 @@
1
1
  import React, { CElement } from "react";
2
2
  import renderer from "react-test-renderer";
3
- import { ITestImplementation, ITTestShape } from "../../../core";
3
+ import { ITestImplementation, ITestSpecification, ITTestShape } from "../../../core";
4
4
  export declare type IInput = typeof React.Component;
5
5
  export declare type InitialState = unknown;
6
- export declare type WhenShape = any;
7
- export declare type ThenShape = any;
6
+ export declare type IWhenShape = any;
7
+ export declare type IThenShape = any;
8
8
  export declare type ISelection = {
9
9
  htmlElement: HTMLElement;
10
10
  reactElement: CElement<any, any>;
11
11
  };
12
- export declare type Store = {
12
+ export declare type IStore = {
13
13
  htmlElement: HTMLElement;
14
14
  reactElement: CElement<any, any>;
15
15
  };
16
- export declare type Subject = {
16
+ export declare type ISubject = {
17
17
  htmlElement: HTMLElement;
18
18
  };
19
19
  export {};
20
- export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, PropShape, StateShape>(testImplementations: ITestImplementation<PropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: any, testInput: IInput) => Promise<void>;
20
+ export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, PropShape, StateShape>(testImplementations: ITestImplementation<PropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, ISelection, any>, testInput: IInput) => Promise<void>;
@@ -1,20 +1,20 @@
1
1
  import React, { CElement } from "react";
2
2
  import renderer from "react-test-renderer";
3
- import { ITTestShape, ITestImplementation } from "../../../core";
3
+ import { ITTestShape, ITestImplementation, ITestSpecification } from "../../../core";
4
4
  export declare type IInput = typeof React.Component;
5
- export declare type InitialState = unknown;
6
- export declare type WhenShape = any;
7
- export declare type ThenShape = any;
5
+ export declare type IState = unknown;
6
+ export declare type IWhenShape = any;
7
+ export declare type IThenShape = any;
8
8
  export declare type ISelection = {
9
9
  htmlElement: HTMLElement;
10
10
  reactElement: CElement<any, any>;
11
11
  };
12
- export declare type Store = {
12
+ export declare type IStore = {
13
13
  htmlElement: HTMLElement;
14
14
  reactElement: CElement<any, any>;
15
15
  };
16
- export declare type Subject = {
16
+ export declare type ISubject = {
17
17
  htmlElement: HTMLElement;
18
18
  };
19
19
  export {};
20
- export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, PropShape, StateShape>(testImplementations: ITestImplementation<PropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: any, testInput: IInput) => Promise<void>;
20
+ export declare const ReactTestRendererTesteranto: <ITestShape extends ITTestShape, IPropShape, IStateShape>(testImplementations: ITestImplementation<IPropShape, renderer.ReactTestRenderer, any, any, ITestShape>, testSpecifications: ITestSpecification<ITestShape, ISubject, IStore, ISelection, any>, testInput: IInput) => Promise<void>;