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