testeranto 0.167.0 → 0.172.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.
- package/dist/common/src/NavBar.js +45 -0
- package/dist/common/src/PM/main.js +81 -59
- package/dist/common/src/Pure.js +16 -14
- package/dist/common/src/ReportServer.js +48 -5
- package/dist/common/src/Web.js +35 -20
- package/dist/common/src/components/SunriseAnimation.test/implementation.js +1 -0
- package/dist/common/src/components/SunriseAnimation.test/index.js +1 -0
- package/dist/common/src/components/SunriseAnimation.test/interface.js +1 -0
- package/dist/common/src/components/SunriseAnimation.test/specification.js +1 -0
- package/dist/common/src/components/TestStatusBadge.js +55 -0
- package/dist/common/src/components/pure/ProjectPageView.js +204 -0
- package/dist/common/src/components/pure/ProjectPageView.test/adapter.js +20 -0
- package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +71 -0
- package/dist/common/src/components/pure/ProjectPageView.test/index.js +10 -0
- package/dist/common/src/components/pure/ProjectPageView.test/specification.js +19 -0
- package/dist/common/src/components/pure/ProjectPageView.test/types.js +2 -0
- package/dist/common/src/lib/BaseSuite.js +3 -3
- package/dist/common/src/lib/BaseSuite.test/test.js +1 -1
- package/dist/common/src/lib/abstractBase.js +41 -14
- package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
- package/dist/common/src/lib/pmProxy.js +185 -64
- package/dist/common/testeranto.config.js +6 -0
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/App.js +3 -3
- package/dist/module/src/PM/main.js +81 -59
- package/dist/module/src/ProjectsPage.js +1 -110
- package/dist/module/src/Pure.js +16 -14
- package/dist/module/src/ReportServer.js +48 -5
- package/dist/module/src/TestPage.js +45 -16
- package/dist/module/src/Web.js +35 -20
- package/dist/module/src/components/SunriseAnimation.test/implementation.js +1 -0
- package/dist/module/src/components/SunriseAnimation.test/index.js +1 -0
- package/dist/module/src/components/SunriseAnimation.test/interface.js +1 -0
- package/dist/module/src/components/SunriseAnimation.test/specification.js +1 -0
- package/dist/module/src/components/pure/ProjectPageView.js +197 -0
- package/dist/module/src/components/pure/ProjectPageView.test/adapter.js +17 -0
- package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +68 -0
- package/dist/module/src/components/pure/ProjectPageView.test/index.js +5 -0
- package/dist/module/src/components/pure/ProjectPageView.test/specification.js +15 -0
- package/dist/module/src/components/pure/ProjectPageView.test/types.js +1 -0
- package/dist/module/src/components/pure/ProjectsPageView.js +58 -0
- package/dist/module/src/components/pure/TestPageView.js +136 -0
- package/dist/module/src/components/stateful/ProjectPage.js +63 -0
- package/dist/module/src/components/stateful/ProjectsPage.js +55 -0
- package/dist/module/src/components/stateful/TestPage.js +82 -0
- package/dist/module/src/lib/BaseSuite.js +3 -3
- package/dist/module/src/lib/BaseSuite.test/test.js +1 -1
- package/dist/module/src/lib/abstractBase.js +41 -14
- package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
- package/dist/module/src/lib/pmProxy.js +185 -64
- package/dist/module/testeranto.config.js +6 -0
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/App.css +13 -9
- package/dist/prebuild/App.js +600 -551
- package/dist/prebuild/ReportServer.mjs +44 -4
- package/dist/prebuild/run.mjs +67 -39
- package/dist/types/src/NavBar.d.ts +19 -0
- package/dist/types/src/PM/index.d.ts +3 -1
- package/dist/types/src/PM/main.d.ts +0 -4
- package/dist/types/src/PM/node.d.ts +2 -2
- package/dist/types/src/components/SunriseAnimation.test/interface.d.ts +0 -0
- package/dist/types/src/components/SunriseAnimation.test/specification.d.ts +0 -0
- package/dist/types/src/components/TestStatusBadge.d.ts +15 -0
- package/dist/types/src/components/pure/ProjectPageView.d.ts +14 -0
- package/dist/types/src/components/pure/ProjectPageView.test/adapter.d.ts +3 -0
- package/dist/types/src/components/pure/ProjectPageView.test/implementation.d.ts +3 -0
- package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +2 -0
- package/dist/types/src/components/pure/ProjectPageView.test/specification.d.ts +3 -0
- package/dist/types/src/components/pure/ProjectPageView.test/types.d.ts +39 -0
- package/dist/types/src/lib/BaseSuite.d.ts +2 -0
- package/dist/types/src/lib/abstractBase.d.ts +12 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +5 -3
- package/src/App.tsx +5 -9
- package/src/PM/index.ts +1 -1
- package/src/PM/main.ts +87 -82
- package/src/PM/node.ts +2 -2
- package/src/ProjectsPage.tsx +1 -164
- package/src/Pure.ts +16 -16
- package/src/ReportServer.ts +49 -6
- package/src/TestPage.tsx +78 -5
- package/src/Web.ts +35 -35
- package/src/components/SunriseAnimation.test/implementation.ts +0 -0
- package/src/components/SunriseAnimation.test/index.ts +0 -0
- package/src/components/SunriseAnimation.test/interface.ts +0 -0
- package/src/components/SunriseAnimation.test/specification.ts +0 -0
- package/src/components/pure/ProjectPageView.test/adapter.ts +21 -0
- package/src/components/pure/ProjectPageView.test/implementation.tsx +84 -0
- package/src/components/pure/ProjectPageView.test/index.ts +8 -0
- package/src/components/pure/ProjectPageView.test/specification.ts +31 -0
- package/src/components/pure/ProjectPageView.test/types.ts +55 -0
- package/src/components/pure/ProjectPageView.tsx +332 -0
- package/src/components/pure/ProjectsPageView.tsx +99 -0
- package/src/components/pure/TestPageView.tsx +278 -0
- package/src/components/stateful/ProjectPage.tsx +83 -0
- package/src/components/stateful/ProjectsPage.tsx +73 -0
- package/src/components/stateful/TestPage.tsx +107 -0
- package/src/lib/BaseSuite.test/test.ts +1 -1
- package/src/lib/BaseSuite.ts +9 -4
- package/src/lib/abstractBase.ts +45 -14
- package/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts +1 -1
- package/src/lib/pmProxy.ts +184 -87
- package/testeranto/App.css +13 -9
- package/testeranto/App.js +600 -551
- package/testeranto/bundles/node/allTests/{chunk-4ONUZRZ4.mjs → chunk-3EUGBAOM.mjs} +1 -1
- package/testeranto/bundles/node/allTests/{chunk-IDCUSTSM.mjs → chunk-E75CSRER.mjs} +246 -115
- package/testeranto/bundles/node/allTests/{chunk-NQEP7SN4.mjs → chunk-M6DO7VMB.mjs} +1 -1
- package/testeranto/bundles/node/allTests/metafile.json +37 -37
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +4 -4
- package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +3 -3
- package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +3 -3
- package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +2 -17
- package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +354 -252
- package/testeranto/bundles/pure/allTests/{chunk-5SBJWHSZ.mjs → chunk-KHDVEHF7.mjs} +2 -17
- package/testeranto/bundles/pure/allTests/{chunk-4ULDTZFU.mjs → chunk-VMUSFSZM.mjs} +246 -115
- package/testeranto/bundles/pure/allTests/metafile.json +72 -42
- package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +2 -2
- package/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs +3 -3
- package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +2 -29
- package/testeranto/bundles/web/allTests/chunk-HPYA4YZC.mjs +2283 -0
- package/testeranto/bundles/web/allTests/{chunk-46E6YGGN.mjs → chunk-U7AW26HL.mjs} +292 -142
- package/testeranto/bundles/web/allTests/metafile.json +22 -943
- package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.html +19 -0
- package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.mjs +37524 -0
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +20 -2
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +26 -2
- package/testeranto/reports/allTests/config.json +8 -0
- package/testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt +9 -3
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/bdd_errors.txt +1 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +13 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/logs.txt +50 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/message.txt +2 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/prompt.txt +17 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/tests.json +32 -0
- package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +68 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +22 -39
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/tests.json +6 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +8 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/tests.json +6 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +9 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +66 -55
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +2 -2
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/tests.json +6 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +10 -5
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +16 -48
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +18 -9
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +8 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +10 -5
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +62 -33
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +2 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +18 -9
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +10 -5
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +37 -50
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +36 -18
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +8 -1
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +2 -2
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/type_errors.txt +9 -3
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +28 -43
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json +28 -14
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +8 -1
- package/testeranto/reports/allTests/summary.json +15 -8
- package/testeranto/reportsnode_build_errors +20 -0
- package/testeranto/reportspure_build_errors +343 -0
- package/testeranto/reportsweb_build_errors +25 -0
- package/testeranto.config.ts +7 -0
- package/tsc.log +100 -26
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/testeranto/bundles/node/allTests/chunk-FFBRDUBH.mjs +0 -677
- package/testeranto/bundles/node/allTests/chunk-H2IBV7SY.mjs +0 -113
- package/testeranto/bundles/node/allTests/chunk-ZHOULXPN.mjs +0 -252
- package/testeranto/bundles/pure/allTests/chunk-CSMXYJ65.mjs +0 -200
- package/testeranto/bundles/pure/allTests/chunk-QK4IXLF6.mjs +0 -674
- package/testeranto/bundles/web/allTests/chunk-TU3MJSSI.mjs +0 -855
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test/manifest.json +0 -1
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/manifest.json +0 -1
- package/testeranto/reports/allTests/src/Pure.test/pure/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/manifest.json +0 -1
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/manifest.json +0 -1
- /package/{testeranto/reports/allTests/src/Pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/implementation.d.ts} +0 -0
- /package/{testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/index.d.ts} +0 -0
|
@@ -0,0 +1,343 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [
|
|
3
|
+
{
|
|
4
|
+
"id": "",
|
|
5
|
+
"location": {
|
|
6
|
+
"column": 31,
|
|
7
|
+
"file": "package.json",
|
|
8
|
+
"length": 1,
|
|
9
|
+
"line": 169,
|
|
10
|
+
"lineText": " \"testeranto-react\": \"0.0.5\",",
|
|
11
|
+
"namespace": "",
|
|
12
|
+
"suggestion": ""
|
|
13
|
+
},
|
|
14
|
+
"notes": [],
|
|
15
|
+
"pluginName": "",
|
|
16
|
+
"text": "JSON does not support trailing commas"
|
|
17
|
+
}
|
|
18
|
+
],
|
|
19
|
+
"warnings": [
|
|
20
|
+
{
|
|
21
|
+
"id": "",
|
|
22
|
+
"location": null,
|
|
23
|
+
"notes": [],
|
|
24
|
+
"pluginName": "console-detector",
|
|
25
|
+
"text": "call of \"console.debug\" was detected, which is not supported in the pure runtime."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"id": "",
|
|
29
|
+
"location": {
|
|
30
|
+
"column": 27,
|
|
31
|
+
"file": "src/Pure.test.ts",
|
|
32
|
+
"length": 31,
|
|
33
|
+
"line": 11,
|
|
34
|
+
"lineText": "import { MockPMBase } from \"./lib/pmProxy.test/mockPMBase\";",
|
|
35
|
+
"namespace": "",
|
|
36
|
+
"suggestion": ""
|
|
37
|
+
},
|
|
38
|
+
"notes": [],
|
|
39
|
+
"pluginName": "console-detector",
|
|
40
|
+
"text": "call of \"console.debug\" was detected, which is not supported in the pure runtime."
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"id": "",
|
|
44
|
+
"location": {
|
|
45
|
+
"column": 24,
|
|
46
|
+
"file": "src/Pure.ts",
|
|
47
|
+
"length": 14,
|
|
48
|
+
"line": 15,
|
|
49
|
+
"lineText": "import { PM_Pure } from \"./PM/pure.js\";",
|
|
50
|
+
"namespace": "",
|
|
51
|
+
"suggestion": ""
|
|
52
|
+
},
|
|
53
|
+
"notes": [],
|
|
54
|
+
"pluginName": "console-detector",
|
|
55
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"id": "",
|
|
59
|
+
"location": {
|
|
60
|
+
"column": 23,
|
|
61
|
+
"file": "src/Web.ts",
|
|
62
|
+
"length": 10,
|
|
63
|
+
"line": 11,
|
|
64
|
+
"lineText": "import { PM_Web } from \"./PM/web\";",
|
|
65
|
+
"namespace": "",
|
|
66
|
+
"suggestion": ""
|
|
67
|
+
},
|
|
68
|
+
"notes": [],
|
|
69
|
+
"pluginName": "console-detector",
|
|
70
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
"id": "",
|
|
74
|
+
"location": {
|
|
75
|
+
"column": 7,
|
|
76
|
+
"file": "src/Web.ts",
|
|
77
|
+
"length": 16,
|
|
78
|
+
"line": 18,
|
|
79
|
+
"lineText": "} from \"./lib/index.js\";",
|
|
80
|
+
"namespace": "",
|
|
81
|
+
"suggestion": ""
|
|
82
|
+
},
|
|
83
|
+
"notes": [],
|
|
84
|
+
"pluginName": "console-detector",
|
|
85
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"id": "",
|
|
89
|
+
"location": {
|
|
90
|
+
"column": 23,
|
|
91
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
92
|
+
"length": 12,
|
|
93
|
+
"line": 2,
|
|
94
|
+
"lineText": "import Testeranto from \"../../Pure\";",
|
|
95
|
+
"namespace": "",
|
|
96
|
+
"suggestion": ""
|
|
97
|
+
},
|
|
98
|
+
"notes": [],
|
|
99
|
+
"pluginName": "console-detector",
|
|
100
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"id": "",
|
|
104
|
+
"location": {
|
|
105
|
+
"column": 23,
|
|
106
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
107
|
+
"length": 12,
|
|
108
|
+
"line": 2,
|
|
109
|
+
"lineText": "import Testeranto from \"../../Pure\";",
|
|
110
|
+
"namespace": "",
|
|
111
|
+
"suggestion": ""
|
|
112
|
+
},
|
|
113
|
+
"notes": [],
|
|
114
|
+
"pluginName": "console-detector",
|
|
115
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
"id": "",
|
|
119
|
+
"location": {
|
|
120
|
+
"column": 26,
|
|
121
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
122
|
+
"length": 14,
|
|
123
|
+
"line": 4,
|
|
124
|
+
"lineText": "import { BaseSuite } from \"../BaseSuite\";",
|
|
125
|
+
"namespace": "",
|
|
126
|
+
"suggestion": ""
|
|
127
|
+
},
|
|
128
|
+
"notes": [],
|
|
129
|
+
"pluginName": "console-detector",
|
|
130
|
+
"text": "call of \"console.debug\" was detected, which is not supported in the pure runtime."
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
"id": "",
|
|
134
|
+
"location": {
|
|
135
|
+
"column": 26,
|
|
136
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
137
|
+
"length": 14,
|
|
138
|
+
"line": 4,
|
|
139
|
+
"lineText": "import { BaseSuite } from \"../BaseSuite\";",
|
|
140
|
+
"namespace": "",
|
|
141
|
+
"suggestion": ""
|
|
142
|
+
},
|
|
143
|
+
"notes": [],
|
|
144
|
+
"pluginName": "console-detector",
|
|
145
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
"id": "",
|
|
149
|
+
"location": {
|
|
150
|
+
"column": 26,
|
|
151
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
152
|
+
"length": 14,
|
|
153
|
+
"line": 4,
|
|
154
|
+
"lineText": "import { BaseSuite } from \"../BaseSuite\";",
|
|
155
|
+
"namespace": "",
|
|
156
|
+
"suggestion": ""
|
|
157
|
+
},
|
|
158
|
+
"notes": [],
|
|
159
|
+
"pluginName": "console-detector",
|
|
160
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "",
|
|
164
|
+
"location": {
|
|
165
|
+
"column": 65,
|
|
166
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
167
|
+
"length": 8,
|
|
168
|
+
"line": 6,
|
|
169
|
+
"lineText": "import { I, implementation, O, specification, testAdapter } from \"./test\";",
|
|
170
|
+
"namespace": "",
|
|
171
|
+
"suggestion": ""
|
|
172
|
+
},
|
|
173
|
+
"notes": [],
|
|
174
|
+
"pluginName": "console-detector",
|
|
175
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
"id": "",
|
|
179
|
+
"location": {
|
|
180
|
+
"column": 65,
|
|
181
|
+
"file": "src/lib/BaseSuite.test/pure.test.ts",
|
|
182
|
+
"length": 8,
|
|
183
|
+
"line": 6,
|
|
184
|
+
"lineText": "import { I, implementation, O, specification, testAdapter } from \"./test\";",
|
|
185
|
+
"namespace": "",
|
|
186
|
+
"suggestion": ""
|
|
187
|
+
},
|
|
188
|
+
"notes": [],
|
|
189
|
+
"pluginName": "console-detector",
|
|
190
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
"id": "",
|
|
194
|
+
"location": {
|
|
195
|
+
"column": 26,
|
|
196
|
+
"file": "src/lib/BaseSuite.test/test.ts",
|
|
197
|
+
"length": 8,
|
|
198
|
+
"line": 14,
|
|
199
|
+
"lineText": "import { MockSuite } from \"./mock\";",
|
|
200
|
+
"namespace": "",
|
|
201
|
+
"suggestion": ""
|
|
202
|
+
},
|
|
203
|
+
"notes": [],
|
|
204
|
+
"pluginName": "console-detector",
|
|
205
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
"id": "",
|
|
209
|
+
"location": {
|
|
210
|
+
"column": 26,
|
|
211
|
+
"file": "src/lib/BaseSuite.test/test.ts",
|
|
212
|
+
"length": 8,
|
|
213
|
+
"line": 14,
|
|
214
|
+
"lineText": "import { MockSuite } from \"./mock\";",
|
|
215
|
+
"namespace": "",
|
|
216
|
+
"suggestion": ""
|
|
217
|
+
},
|
|
218
|
+
"notes": [],
|
|
219
|
+
"pluginName": "console-detector",
|
|
220
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"id": "",
|
|
224
|
+
"location": {
|
|
225
|
+
"column": 46,
|
|
226
|
+
"file": "src/lib/BaseSuite.ts",
|
|
227
|
+
"length": 11,
|
|
228
|
+
"line": 5,
|
|
229
|
+
"lineText": "import { beforeAllProxy, afterAllProxy } from \"./pmProxy\";",
|
|
230
|
+
"namespace": "",
|
|
231
|
+
"suggestion": ""
|
|
232
|
+
},
|
|
233
|
+
"notes": [],
|
|
234
|
+
"pluginName": "console-detector",
|
|
235
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"id": "",
|
|
239
|
+
"location": {
|
|
240
|
+
"column": 46,
|
|
241
|
+
"file": "src/lib/BaseSuite.ts",
|
|
242
|
+
"length": 11,
|
|
243
|
+
"line": 5,
|
|
244
|
+
"lineText": "import { beforeAllProxy, afterAllProxy } from \"./pmProxy\";",
|
|
245
|
+
"namespace": "",
|
|
246
|
+
"suggestion": ""
|
|
247
|
+
},
|
|
248
|
+
"notes": [],
|
|
249
|
+
"pluginName": "console-detector",
|
|
250
|
+
"text": "call of \"console.warn\" was detected, which is not supported in the pure runtime."
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"id": "",
|
|
254
|
+
"location": {
|
|
255
|
+
"column": 23,
|
|
256
|
+
"file": "src/lib/baseBuilder.test/baseBuilder.test.pure.ts",
|
|
257
|
+
"length": 11,
|
|
258
|
+
"line": 2,
|
|
259
|
+
"lineText": "import Testeranto from \"../../Web\";",
|
|
260
|
+
"namespace": "",
|
|
261
|
+
"suggestion": ""
|
|
262
|
+
},
|
|
263
|
+
"notes": [],
|
|
264
|
+
"pluginName": "console-detector",
|
|
265
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"id": "",
|
|
269
|
+
"location": {
|
|
270
|
+
"column": 31,
|
|
271
|
+
"file": "src/lib/baseBuilder.test/baseBuilder.test.pure.ts",
|
|
272
|
+
"length": 35,
|
|
273
|
+
"line": 5,
|
|
274
|
+
"lineText": "import { implementation } from \"./baseBuilder.test.implementation\";",
|
|
275
|
+
"namespace": "",
|
|
276
|
+
"suggestion": ""
|
|
277
|
+
},
|
|
278
|
+
"notes": [],
|
|
279
|
+
"pluginName": "console-detector",
|
|
280
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "",
|
|
284
|
+
"location": {
|
|
285
|
+
"column": 28,
|
|
286
|
+
"file": "src/lib/baseBuilder.test/baseBuilder.test.pure.ts",
|
|
287
|
+
"length": 28,
|
|
288
|
+
"line": 6,
|
|
289
|
+
"lineText": "import { testAdapter } from \"./baseBuilder.test.adapter\";",
|
|
290
|
+
"namespace": "",
|
|
291
|
+
"suggestion": ""
|
|
292
|
+
},
|
|
293
|
+
"notes": [],
|
|
294
|
+
"pluginName": "console-detector",
|
|
295
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
"id": "",
|
|
299
|
+
"location": {
|
|
300
|
+
"column": 46,
|
|
301
|
+
"file": "src/lib/core.ts",
|
|
302
|
+
"length": 19,
|
|
303
|
+
"line": 20,
|
|
304
|
+
"lineText": "import { BaseGiven, BaseWhen, BaseThen } from \"./abstractBase.js\";",
|
|
305
|
+
"namespace": "",
|
|
306
|
+
"suggestion": ""
|
|
307
|
+
},
|
|
308
|
+
"notes": [],
|
|
309
|
+
"pluginName": "console-detector",
|
|
310
|
+
"text": "call of \"console.debug\" was detected, which is not supported in the pure runtime."
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
"id": "",
|
|
314
|
+
"location": {
|
|
315
|
+
"column": 46,
|
|
316
|
+
"file": "src/lib/core.ts",
|
|
317
|
+
"length": 19,
|
|
318
|
+
"line": 20,
|
|
319
|
+
"lineText": "import { BaseGiven, BaseWhen, BaseThen } from \"./abstractBase.js\";",
|
|
320
|
+
"namespace": "",
|
|
321
|
+
"suggestion": ""
|
|
322
|
+
},
|
|
323
|
+
"notes": [],
|
|
324
|
+
"pluginName": "console-detector",
|
|
325
|
+
"text": "call of \"console.error\" was detected, which is not supported in the pure runtime."
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
"id": "",
|
|
329
|
+
"location": {
|
|
330
|
+
"column": 46,
|
|
331
|
+
"file": "src/lib/core.ts",
|
|
332
|
+
"length": 19,
|
|
333
|
+
"line": 20,
|
|
334
|
+
"lineText": "import { BaseGiven, BaseWhen, BaseThen } from \"./abstractBase.js\";",
|
|
335
|
+
"namespace": "",
|
|
336
|
+
"suggestion": ""
|
|
337
|
+
},
|
|
338
|
+
"notes": [],
|
|
339
|
+
"pluginName": "console-detector",
|
|
340
|
+
"text": "call of \"console.log\" was detected, which is not supported in the pure runtime."
|
|
341
|
+
}
|
|
342
|
+
]
|
|
343
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
{
|
|
2
|
+
"errors": [
|
|
3
|
+
{
|
|
4
|
+
"id": "",
|
|
5
|
+
"location": {
|
|
6
|
+
"column": 23,
|
|
7
|
+
"file": "node_modules/testeranto-react/src/react-dom/component/web.ts",
|
|
8
|
+
"length": 20,
|
|
9
|
+
"line": 2,
|
|
10
|
+
"lineText": "import Testeranto from \"testeranto/src/Web\";",
|
|
11
|
+
"namespace": "",
|
|
12
|
+
"suggestion": ""
|
|
13
|
+
},
|
|
14
|
+
"notes": [
|
|
15
|
+
{
|
|
16
|
+
"location": null,
|
|
17
|
+
"text": "You can mark the path \"testeranto/src/Web\" as external to exclude it from the bundle, which will remove this error."
|
|
18
|
+
}
|
|
19
|
+
],
|
|
20
|
+
"pluginName": "",
|
|
21
|
+
"text": "Could not resolve \"testeranto/src/Web\""
|
|
22
|
+
}
|
|
23
|
+
],
|
|
24
|
+
"warnings": []
|
|
25
|
+
}
|
package/testeranto.config.ts
CHANGED
|
@@ -4,6 +4,13 @@ const config: IProject = {
|
|
|
4
4
|
projects: {
|
|
5
5
|
allTests: {
|
|
6
6
|
tests: [
|
|
7
|
+
[
|
|
8
|
+
"src/components/pure/ProjectPageView.test/index.ts",
|
|
9
|
+
"web",
|
|
10
|
+
{ ports: 0 },
|
|
11
|
+
[],
|
|
12
|
+
],
|
|
13
|
+
|
|
7
14
|
["src/lib/BaseSuite.test/node.test.ts", "node", { ports: 0 }, []],
|
|
8
15
|
["src/lib/BaseSuite.test/pure.test.ts", "pure", { ports: 0 }, []],
|
|
9
16
|
["src/lib/BaseSuite.test/web.test.ts", "web", { ports: 0 }, []],
|
package/tsc.log
CHANGED
|
@@ -1,7 +1,77 @@
|
|
|
1
1
|
$ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
|
|
2
|
-
src/
|
|
3
|
-
src/
|
|
4
|
-
src/
|
|
2
|
+
node_modules/testeranto-react/src/mocks/mockReactComponent.tsx(58,9): error TS2554: Expected 3 arguments, but got 2.
|
|
3
|
+
node_modules/testeranto-react/src/react-dom/component/dynamic.ts(6,19): error TS2305: Module '"testeranto/src/CoreTypes"' has no exported member 'ITestAdapter'.
|
|
4
|
+
node_modules/testeranto-react/src/react-dom/component/dynamic.ts(50,45): error TS2339: Property 'subject' does not exist on type 'Readonly<{}>'.
|
|
5
|
+
node_modules/testeranto-react/src/react-dom/component/web.ts(5,3): error TS2305: Module '"testeranto/src/CoreTypes"' has no exported member 'ITestAdapter'.
|
|
6
|
+
node_modules/testeranto-react/src/react/component/index.ts(3,44): error TS2307: Cannot find module '../../../Types' or its corresponding type declarations.
|
|
7
|
+
node_modules/testeranto/src/lib/basebuilder.ts(85,15): error TS2349: This expression is not callable.
|
|
8
|
+
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
9
|
+
Type 'void' has no call signatures.
|
|
10
|
+
node_modules/testeranto/src/lib/classBuilder.ts(90,18): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
11
|
+
node_modules/testeranto/src/lib/classBuilder.ts(105,28): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
12
|
+
node_modules/testeranto/src/lib/index.ts(22,3): error TS2322: Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
|
|
13
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
14
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
15
|
+
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
16
|
+
node_modules/testeranto/src/lib/index.ts(24,20): error TS2536: Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
17
|
+
node_modules/testeranto/src/lib/index.ts(46,13): error TS2349: This expression is not callable.
|
|
18
|
+
Type 'unknown' has no call signatures.
|
|
19
|
+
node_modules/testeranto/src/lib/index.ts(58,3): error TS2322: Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestInterface<T>'.
|
|
20
|
+
Types of property 'assertThis' are incompatible.
|
|
21
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
22
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
23
|
+
node_modules/testeranto/src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
|
|
24
|
+
node_modules/testeranto/src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
|
|
25
|
+
node_modules/testeranto/src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
26
|
+
node_modules/testeranto/src/Web.ts(40,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
27
|
+
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; checks: Record<string, any>; }': suites, givens, whens, thens, checks
|
|
28
|
+
node_modules/testeranto/src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
|
|
29
|
+
node_modules/testeranto/src/Web.ts(67,14): error TS2554: Expected 0 arguments, but got 1.
|
|
30
|
+
src/App.tsx(45,34): error TS2339: Property 'createRoot' does not exist on type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")'.
|
|
31
|
+
src/App.tsx(55,10): error TS2339: Property 'App' does not exist on type 'Window & typeof globalThis'.
|
|
32
|
+
src/App.tsx(57,3): error TS2740: Type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/client")' is missing the following properties from type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")': findDOMNode, unmountComponentAtNode, createPortal, flushSync, and 5 more.
|
|
33
|
+
src/components/pure/ProjectPageView.test/adapter.ts(6,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, initializer: (c?: any) => (...args: any[]) => import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, testResource: import("/Users/adam/Code/testeranto/src/lib/index").I...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, initializer: (c?: any) => (...args: any[]) => import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, testResource: import("/Users/adam/Code/testeranto/src/lib/index").I...'. Two different types with this name exist, but they are unrelated.
|
|
34
|
+
Type 'Promise<(...args: any[]) => IProjectPageViewProps>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
|
|
35
|
+
Type '(...args: any[]) => IProjectPageViewProps' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
36
|
+
Type '(...args: any[]) => IProjectPageViewProps' is not assignable to type 'IProjectPageViewProps'.
|
|
37
|
+
src/components/pure/ProjectPageView.test/adapter.ts(9,3): error TS2719: Type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, whenCB: () => (props: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, utils: any) => import("/Users/adam/Code/testeranto...' is not assignable to type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, whenCB: () => (props: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, utils: any) => import("/Users/adam/Code/testeranto...'. Two different types with this name exist, but they are unrelated.
|
|
38
|
+
Type 'Promise<(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
|
|
39
|
+
Type '(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
40
|
+
Type '(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps'.
|
|
41
|
+
src/components/pure/ProjectPageView.test/adapter.ts(10,19): error TS2554: Expected 0 arguments, but got 2.
|
|
42
|
+
src/components/pure/ProjectPageView.test/adapter.ts(12,3): error TS2719: Type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, thenCB: () => (state: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { ...; }) => import("/Users/adam/Code/testeranto/...' is not assignable to type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, thenCB: () => (state: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { ...; }) => import("/Users/adam/Code/testeranto/...'. Two different types with this name exist, but they are unrelated.
|
|
43
|
+
Type 'Promise<(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
|
|
44
|
+
Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
45
|
+
Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps'.
|
|
46
|
+
src/components/pure/ProjectPageView.test/adapter.ts(13,19): error TS2554: Expected 0 arguments, but got 2.
|
|
47
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(49,11): error TS2769: No overload matches this call.
|
|
48
|
+
The last overload gave the following error.
|
|
49
|
+
Argument of type 'Element' is not assignable to parameter of type 'ReactElement<unknown, string | JSXElementConstructor<any>>[]'.
|
|
50
|
+
Type 'ReactElement<any, any>' is missing the following properties from type 'ReactElement<unknown, string | JSXElementConstructor<any>>[]': length, pop, push, concat, and 35 more.
|
|
51
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(49,12): error TS2686: 'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
|
|
52
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(69,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
53
|
+
Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
54
|
+
Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
|
|
55
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(71,34): error TS18048: 'container' is possibly 'undefined'.
|
|
56
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(73,73): error TS18048: 'container' is possibly 'undefined'.
|
|
57
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(80,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
58
|
+
Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
59
|
+
Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
|
|
60
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(81,18): error TS18048: 'container' is possibly 'undefined'.
|
|
61
|
+
src/components/pure/ProjectPageView.test/index.ts(8,27): error TS2344: Type 'I' does not satisfy the constraint 'Ibdd_out'.
|
|
62
|
+
Type 'I' is missing the following properties from type 'Ibdd_out': suites, givens, whens, thens, checks
|
|
63
|
+
src/components/pure/ProjectPageView.tsx(217,19): error TS18046: 'testData' is of type 'unknown'.
|
|
64
|
+
src/components/pure/ProjectPageView.tsx(218,29): error TS18046: 'testData' is of type 'unknown'.
|
|
65
|
+
src/components/pure/ProjectPageView.tsx(219,26): error TS18046: 'testData' is of type 'unknown'.
|
|
66
|
+
src/components/pure/ProjectPageView.tsx(220,28): error TS18046: 'testData' is of type 'unknown'.
|
|
67
|
+
src/components/pure/ProjectPageView.tsx(298,24): error TS2739: Type '{ testName: string; testsExist: boolean; runTimeErrors: number; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
|
|
68
|
+
src/components/pure/ProjectsPageView.tsx(27,34): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
69
|
+
src/components/pure/TestPageView.tsx(40,16): error TS2739: Type '{ testName: any; testsExist: any; runTimeErrors: any; variant: "compact"; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
|
|
70
|
+
src/components/stateful/TestPage.tsx(52,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'SetStateAction<string>'.
|
|
71
|
+
Type 'undefined' is not assignable to type 'SetStateAction<string>'.
|
|
72
|
+
src/components/stateful/TestPage.tsx(77,18): error TS2345: Argument of type 'string' is not assignable to parameter of type 'SetStateAction<null>'.
|
|
73
|
+
src/components/stateful/TestPage.tsx(100,7): error TS2322: Type '{ route: string; setRoute: Dispatch<SetStateAction<string>>; navigate: NavigateFunction; projectName: string | undefined; testName: string; ... 10 more ...; summary: null; }' is not assignable to type 'IntrinsicAttributes & { route: any; setRoute: any; navigate: any; projectName: any; testName: any; decodedTestPath: any; runtime: any; testData: any; logs: any; typeErrors: any; lintErrors: any; testsExist: any; errorCounts: any; }'.
|
|
74
|
+
Property 'loading' does not exist on type 'IntrinsicAttributes & { route: any; setRoute: any; navigate: any; projectName: any; testName: any; decodedTestPath: any; runtime: any; testData: any; logs: any; typeErrors: any; lintErrors: any; testsExist: any; errorCounts: any; }'.
|
|
5
75
|
src/lib/abstractBase.test/adapter.ts(5,47): error TS2322: Type 'Promise<() => { testStore: { value: string; }; }>' is not assignable to type 'Promise<{ testStore: { value: string; }; error?: Error | undefined; }>'.
|
|
6
76
|
Type '() => { testStore: { value: string; }; }' is not assignable to type '{ testStore: { value: string; }; error?: Error | undefined; }'.
|
|
7
77
|
src/lib/abstractBase.test/adapter.ts(8,25): error TS2739: Type '{ testStore: { value: string; }; error?: Error | undefined; }' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
|
|
@@ -29,7 +99,8 @@ src/lib/abstractBase.test/MockGiven.ts(9,12): error TS2304: Cannot find name 'Ba
|
|
|
29
99
|
src/lib/abstractBase.test/MockGiven.ts(24,12): error TS2349: This expression is not callable.
|
|
30
100
|
Type 'unknown' has no call signatures.
|
|
31
101
|
src/lib/abstractBase.test/types.ts(13,17): error TS2707: Generic type 'Ibdd_out' requires between 0 and 4 type arguments.
|
|
32
|
-
src/lib/abstractBase.ts(
|
|
102
|
+
src/lib/abstractBase.ts(244,17): error TS1196: Catch clause variable type annotation must be 'any' or 'unknown' if specified.
|
|
103
|
+
src/lib/abstractBase.ts(301,39): error TS2554: Expected 1 arguments, but got 2.
|
|
33
104
|
src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(8,49): error TS2322: Type 'Promise<{}>' is not assignable to type 'Promise<BaseBuilder<any, any, any, any, any, any>>'.
|
|
34
105
|
Type '{}' is missing the following properties from type 'BaseBuilder<any, any, any, any, any, any>': specs, assertThis, testResourceRequirement, artifacts, and 12 more.
|
|
35
106
|
src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(9,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...'. Two different types with this name exist, but they are unrelated.
|
|
@@ -288,17 +359,22 @@ src/PM/__tests__/webSidecar.testeranto.ts(94,38): error TS2322: Type 'boolean' i
|
|
|
288
359
|
src/PM/__tests__/webSidecar.testeranto.ts(109,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
|
|
289
360
|
src/PM/__tests__/webSidecar.testeranto.ts(118,20): error TS2304: Cannot find name 'IPartialNodeAdapter'.
|
|
290
361
|
src/PM/__tests__/webSidecar.testeranto.ts(118,40): error TS2304: Cannot find name 'I'.
|
|
291
|
-
src/PM/main.ts(
|
|
362
|
+
src/PM/main.ts(817,38): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
292
363
|
Type 'null' is not assignable to type 'number'.
|
|
293
|
-
src/PM/main.ts(
|
|
364
|
+
src/PM/main.ts(818,31): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
294
365
|
Type 'null' is not assignable to type 'number'.
|
|
295
|
-
src/PM/main.ts(
|
|
296
|
-
src/PM/main.ts(
|
|
297
|
-
src/PM/main.ts(
|
|
298
|
-
src/PM/main.ts(
|
|
299
|
-
src/PM/main.ts(
|
|
300
|
-
src/PM/main.ts(
|
|
301
|
-
src/PM/
|
|
366
|
+
src/PM/main.ts(984,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
367
|
+
src/PM/main.ts(1022,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
368
|
+
src/PM/main.ts(1150,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
|
|
369
|
+
src/PM/main.ts(1188,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
370
|
+
src/PM/main.ts(1203,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
|
|
371
|
+
src/PM/main.ts(1473,9): error TS2532: Object is possibly 'undefined'.
|
|
372
|
+
src/PM/pure.ts(114,3): error TS2416: Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
|
|
373
|
+
Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
|
|
374
|
+
Types of parameters 'opts' and 'opts' are incompatible.
|
|
375
|
+
Type '{ path: string; }' is not assignable to type 'ScreencastOptions'.
|
|
376
|
+
Types of property 'path' are incompatible.
|
|
377
|
+
Type 'string' is not assignable to type '`${string}.webm`'.
|
|
302
378
|
src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
|
|
303
379
|
src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
|
|
304
380
|
src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
@@ -313,14 +389,6 @@ src/ProjectPage.tsx(316,35): error TS2339: Property 'typeErrors' does not exist
|
|
|
313
389
|
src/ProjectPage.tsx(317,37): error TS2339: Property 'staticErrors' does not exist on type 'string | { runTimeErrors: number | "?" | undefined; typeErrors: number | "?" | undefined; staticErrors: number | "?" | undefined; prompt: string | undefined; failingFeatures: object | undefined; }'.
|
|
314
390
|
Property 'staticErrors' does not exist on type 'string'.
|
|
315
391
|
src/ProjectPage.tsx(397,45): error TS2339: Property 'tests' does not exist on type 'object'.
|
|
316
|
-
src/ProjectsPage.tsx(92,34): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
|
|
317
|
-
src/ProjectsPage.tsx(117,61): error TS2339: Property 'tests' does not exist on type 'object'.
|
|
318
|
-
src/ProjectsPage.tsx(118,48): error TS18048: 'testData.runTimeErrors' is possibly 'undefined'.
|
|
319
|
-
src/ProjectsPage.tsx(118,48): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
|
|
320
|
-
src/ProjectsPage.tsx(119,47): error TS18048: 'testData.typeErrors' is possibly 'undefined'.
|
|
321
|
-
src/ProjectsPage.tsx(119,47): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
|
|
322
|
-
src/ProjectsPage.tsx(119,74): error TS18048: 'testData.staticErrors' is possibly 'undefined'.
|
|
323
|
-
src/ProjectsPage.tsx(119,74): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
|
|
324
392
|
src/Pure.test.ts(58,20): error TS2322: Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' is not assignable to type '() => IPM'.
|
|
325
393
|
Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' provides no match for the signature '(): IPM'.
|
|
326
394
|
src/Pure.test.ts(82,5): error TS2322: Type '(proxyType: string) => (store: { pm: IPM; }) => { pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' is not assignable to type '(Iw_0: string) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
|
|
@@ -389,15 +457,21 @@ src/Pure.test.ts(216,29): error TS2322: Type '(store: { pm: IPM; }) => { pm: IPM
|
|
|
389
457
|
Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
|
|
390
458
|
src/Pure.ts(32,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
391
459
|
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
392
|
-
src/
|
|
393
|
-
src/ReportServer.ts(64,33): error TS2339: Property 'status' does not exist on type 'Error'.
|
|
460
|
+
src/ReportServer.ts(107,33): error TS2339: Property 'status' does not exist on type 'Error'.
|
|
394
461
|
src/TestPage.tsx(72,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'SetStateAction<string>'.
|
|
395
462
|
Type 'undefined' is not assignable to type 'SetStateAction<string>'.
|
|
396
463
|
src/TestPage.tsx(131,22): error TS2339: Property 'fails' does not exist on type 'TestData'.
|
|
397
464
|
src/TestPage.tsx(163,16): error TS2739: Type '{ testName: string; testsExist: boolean; runTimeErrors: number; variant: "compact"; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
|
|
465
|
+
src/TestPage.tsx(258,32): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
466
|
+
src/TestPage.tsx(265,49): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
467
|
+
src/TestPage.tsx(268,38): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
468
|
+
src/TestPage.tsx(293,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
469
|
+
src/TestPage.tsx(297,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
470
|
+
src/TestPage.tsx(322,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
471
|
+
src/TestPage.tsx(326,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
398
472
|
src/utils/api.ts(69,54): error TS2304: Cannot find name 'testName'.
|
|
399
|
-
src/Web.ts(
|
|
473
|
+
src/Web.ts(43,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
400
474
|
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
401
|
-
src/Web.ts(
|
|
402
|
-
src/Web.ts(
|
|
475
|
+
src/Web.ts(51,14): error TS2554: Expected 0 arguments, but got 1.
|
|
476
|
+
src/Web.ts(73,14): error TS2554: Expected 0 arguments, but got 1.
|
|
403
477
|
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|