testeranto 0.172.0 → 0.173.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 (193) hide show
  1. package/README.md +2 -4
  2. package/dist/common/src/PM/base.js +4 -0
  3. package/dist/common/src/PM/main.js +11 -4
  4. package/dist/common/src/PM/node.js +1 -1
  5. package/dist/common/src/PM/web.js +3 -3
  6. package/dist/common/src/ReportServer.js +2 -126
  7. package/dist/common/src/ReportServer.test.ts/index.js +78 -0
  8. package/dist/common/src/ReportServerLib.js +135 -0
  9. package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +1 -1
  10. package/dist/common/src/lib/abstractBase.js +2 -0
  11. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +10 -9
  12. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +7 -7
  13. package/dist/common/src/lib/basebuilder.js +8 -2
  14. package/dist/common/src/lib/pmProxy.js +54 -150
  15. package/dist/common/testeranto.config.js +35 -20
  16. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  17. package/dist/module/src/PM/base.js +4 -0
  18. package/dist/module/src/PM/main.js +11 -4
  19. package/dist/module/src/PM/node.js +1 -1
  20. package/dist/module/src/PM/web.js +3 -3
  21. package/dist/module/src/ReportServer.js +2 -123
  22. package/dist/module/src/ReportServer.test.ts/index.js +73 -0
  23. package/dist/module/src/ReportServerLib.js +128 -0
  24. package/dist/module/src/TestPage.js +29 -17
  25. package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +1 -1
  26. package/dist/module/src/components/pure/TestPageView.js +29 -17
  27. package/dist/module/src/lib/abstractBase.js +2 -0
  28. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +10 -9
  29. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +7 -7
  30. package/dist/module/src/lib/basebuilder.js +8 -2
  31. package/dist/module/src/lib/pmProxy.js +54 -150
  32. package/dist/module/testeranto.config.js +35 -20
  33. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  34. package/dist/prebuild/App.js +3 -3
  35. package/dist/prebuild/ReportServer.mjs +15 -9
  36. package/dist/prebuild/run.mjs +14 -4
  37. package/dist/types/src/PM/node.d.ts +1 -1
  38. package/dist/types/src/PM/web.d.ts +1 -1
  39. package/dist/types/src/ReportServer.test.ts/index.d.ts +29 -0
  40. package/dist/types/src/ReportServerLib.d.ts +2 -0
  41. package/dist/types/src/Types.d.ts +0 -1
  42. package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +2 -1
  43. package/dist/types/src/lib/abstractBase.d.ts +1 -1
  44. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.types.d.ts +7 -4
  45. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  46. package/package.json +2 -2
  47. package/src/PM/base.ts +5 -0
  48. package/src/PM/main.ts +12 -4
  49. package/src/PM/node.ts +1 -1
  50. package/src/PM/web.ts +3 -3
  51. package/src/ReportServer.test.ts/index.ts +194 -0
  52. package/src/ReportServer.ts +2 -132
  53. package/src/ReportServerLib.ts +144 -0
  54. package/src/TestPage.tsx +65 -5
  55. package/src/Types.ts +0 -1
  56. package/src/components/pure/ProjectPageView.test/implementation.tsx +1 -1
  57. package/src/components/pure/TestPageView.tsx +65 -5
  58. package/src/lib/abstractBase.ts +4 -1
  59. package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +22 -10
  60. package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +9 -9
  61. package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +7 -4
  62. package/src/lib/basebuilder.ts +7 -4
  63. package/src/lib/pmProxy.ts +78 -155
  64. package/testeranto/App.js +3 -3
  65. package/testeranto/bundles/node/allTests/metafile.json +38 -781
  66. package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +983 -24
  67. package/testeranto/bundles/node/core/metafile.json +486 -0
  68. package/testeranto/bundles/{pure/allTests/chunk-VMUSFSZM.mjs → node/core/src/lib/baseBuilder.test/baseBuilder.test.node.mjs} +797 -412
  69. package/testeranto/bundles/node/staticSite/metafile.json +593 -0
  70. package/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs +1594 -0
  71. package/testeranto/bundles/pure/allTests/metafile.json +122 -550
  72. package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +740 -27
  73. package/testeranto/bundles/pure/core/metafile.json +626 -0
  74. package/testeranto/bundles/{node/allTests/chunk-E75CSRER.mjs → pure/core/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs} +777 -483
  75. package/testeranto/bundles/pure/staticSite/metafile.json +8 -0
  76. package/testeranto/bundles/web/allTests/metafile.json +777 -22
  77. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +893 -45
  78. package/testeranto/bundles/web/core/metafile.json +780 -0
  79. package/testeranto/bundles/web/core/src/lib/baseBuilder.test/baseBuilder.test.web.html +19 -0
  80. package/testeranto/bundles/web/{allTests/chunk-U7AW26HL.mjs → core/src/lib/baseBuilder.test/baseBuilder.test.web.mjs} +506 -411
  81. package/testeranto/bundles/web/staticSite/metafile.json +8 -0
  82. package/testeranto/projects.json +2 -1
  83. package/testeranto/reports/allTests/config.json +0 -64
  84. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +2 -0
  85. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +11 -13
  86. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +10 -0
  87. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
  88. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +10 -18
  89. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +25 -13
  90. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +2 -0
  91. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +8 -0
  92. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +24 -12
  93. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +2 -0
  94. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +49 -55
  95. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +12 -2
  96. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
  97. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +10 -18
  98. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +24 -12
  99. package/testeranto/reports/allTests/summary.json +6 -62
  100. package/testeranto/reports/core/config.json +24 -0
  101. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +2 -0
  102. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +32 -0
  103. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/message.txt +2 -0
  104. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +26 -0
  105. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
  106. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +69 -0
  107. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +74 -0
  108. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +2 -0
  109. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message.txt +2 -0
  110. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +26 -0
  111. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +74 -0
  112. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +2 -0
  113. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +61 -0
  114. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +2 -0
  115. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +26 -0
  116. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +1 -0
  117. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +69 -0
  118. package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +74 -0
  119. package/testeranto/reports/core/summary.json +23 -0
  120. package/testeranto/reports/staticSite/config.json +24 -0
  121. package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/lint_errors.txt +5 -0
  122. package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/logs.txt +44 -0
  123. package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/message.txt +2 -0
  124. package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/prompt.txt +23 -0
  125. package/testeranto/reports/{allTests/src/lib/core.test/core.test → staticSite/src/ReportServer.test.ts/index}/node/type_errors.txt +21 -32
  126. package/testeranto/reports/staticSite/summary.json +9 -0
  127. package/testeranto/reportsnode_build_errors +8 -11
  128. package/testeranto.config.ts +37 -20
  129. package/testeranto/bundles/node/allTests/chunk-3EUGBAOM.mjs +0 -113
  130. package/testeranto/bundles/node/allTests/chunk-M6DO7VMB.mjs +0 -252
  131. package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +0 -323
  132. package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +0 -411
  133. package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +0 -528
  134. package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +0 -4752
  135. package/testeranto/bundles/pure/allTests/chunk-KHDVEHF7.mjs +0 -185
  136. package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +0 -429
  137. package/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs +0 -425
  138. package/testeranto/bundles/web/allTests/chunk-HPYA4YZC.mjs +0 -2283
  139. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.html +0 -19
  140. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.mjs +0 -37524
  141. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.html +0 -19
  142. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +0 -440
  143. package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.txt +0 -0
  144. package/testeranto/reports/allTests/src/Pure.test/pure/message.txt +0 -2
  145. package/testeranto/reports/allTests/src/Pure.test/pure/prompt.txt +0 -13
  146. package/testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt +0 -101
  147. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +0 -13
  148. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/logs.txt +0 -50
  149. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/message.txt +0 -2
  150. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/prompt.txt +0 -17
  151. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/tests.json +0 -32
  152. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +0 -68
  153. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.txt +0 -0
  154. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +0 -52
  155. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/message.txt +0 -2
  156. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/prompt.txt +0 -13
  157. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/tests.json +0 -31
  158. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +0 -111
  159. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/bdd_errors.txt +0 -1
  160. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.txt +0 -0
  161. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/message.txt +0 -2
  162. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +0 -14
  163. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/tests.json +0 -31
  164. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +0 -111
  165. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/bdd_errors.txt +0 -1
  166. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/lint_errors.txt +0 -0
  167. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +0 -108
  168. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/message.txt +0 -2
  169. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +0 -14
  170. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/tests.json +0 -31
  171. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +0 -111
  172. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/bdd_errors.txt +0 -1
  173. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.txt +0 -0
  174. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +0 -700
  175. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/message.txt +0 -2
  176. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +0 -16
  177. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +0 -164
  178. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +0 -138
  179. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.txt +0 -21
  180. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +0 -7
  181. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/message.txt +0 -2
  182. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/prompt.txt +0 -18
  183. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/bdd_errors.txt +0 -1
  184. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.txt +0 -20
  185. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +0 -31
  186. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/message.txt +0 -2
  187. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/prompt.txt +0 -16
  188. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json +0 -134
  189. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +0 -76
  190. package/testeranto/reportspure_build_errors +0 -343
  191. package/testeranto/reportsweb_build_errors +0 -25
  192. /package/testeranto/reports/{allTests/src/components/pure/ProjectPageView.test/index/web → core/src/lib/baseBuilder.test/baseBuilder.test.node/node}/bdd_errors.txt +0 -0
  193. /package/testeranto/reports/{allTests/src/lib/BaseSuite.test/node.test/node → core/src/lib/baseBuilder.test/baseBuilder.test.web/web}/bdd_errors.txt +0 -0
@@ -1,19 +0,0 @@
1
-
2
- <!DOCTYPE html>
3
- <html lang="en">
4
-
5
- <head>
6
- <script type="module" src="./web.test.mjs"></script>
7
-
8
- </head>
9
-
10
- <body>
11
- <h1>/Users/adam/Code/testeranto/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.html</h1>
12
- <div id="root">
13
-
14
- </div>
15
- </body>
16
-
17
- <footer></footer>
18
-
19
- </html>
@@ -1,440 +0,0 @@
1
- import {
2
- BaseGiven,
3
- BaseSuite,
4
- BaseThen,
5
- BaseWhen,
6
- Web_default
7
- } from "../../../chunk-U7AW26HL.mjs";
8
- import {
9
- init_buffer,
10
- init_dirname,
11
- init_process
12
- } from "../../../chunk-HPYA4YZC.mjs";
13
-
14
- // src/lib/BaseSuite.test/web.test.ts
15
- init_dirname();
16
- init_buffer();
17
- init_process();
18
-
19
- // src/lib/BaseSuite.test/test.ts
20
- init_dirname();
21
- init_buffer();
22
- init_process();
23
-
24
- // src/lib/BaseSuite.test/mock.ts
25
- init_dirname();
26
- init_buffer();
27
- init_process();
28
- var MockGiven = class extends BaseGiven {
29
- constructor(name, features, whens, thens) {
30
- super(
31
- name,
32
- features,
33
- whens,
34
- thens,
35
- async () => ({ testStore: true, testSelection: false }),
36
- // givenCB
37
- {}
38
- // initialValues
39
- );
40
- }
41
- async givenThat() {
42
- return { testStore: true, testSelection: false };
43
- }
44
- uberCatcher(e) {
45
- console.error("Given error 2:", e);
46
- }
47
- };
48
- var MockWhen = class extends BaseWhen {
49
- async andWhen(store, whenCB, testResource, pm) {
50
- console.log(
51
- "[DEBUG] MockWhen - andWhen - input store:",
52
- JSON.stringify(store)
53
- );
54
- const newStore = {
55
- ...store,
56
- testSelection: true
57
- // Ensure testSelection is set for assertions
58
- };
59
- console.log("[DEBUG] MockWhen - andWhen - calling whenCB");
60
- const result = await whenCB(newStore);
61
- console.log("[DEBUG] MockWhen - andWhen - result:", JSON.stringify(result));
62
- return result;
63
- }
64
- addArtifact(name, content) {
65
- return this;
66
- }
67
- };
68
- var MockThen = class extends BaseThen {
69
- async butThen(store, thenCB, testResourceConfiguration, pm) {
70
- console.log(
71
- "[DEBUG] MockThen - butThen - input store:",
72
- JSON.stringify(store)
73
- );
74
- if (!store) {
75
- throw new Error("Store is undefined in butThen");
76
- }
77
- const testSelection = {
78
- name: store.name,
79
- index: store.index,
80
- testSelection: store.testSelection || false,
81
- error: store.error ? true : void 0
82
- };
83
- console.log(
84
- "[DEBUG] MockThen - passing testSelection:",
85
- JSON.stringify(testSelection)
86
- );
87
- try {
88
- const result = await thenCB(testSelection);
89
- console.log(
90
- "[DEBUG] MockThen - received result:",
91
- JSON.stringify(result)
92
- );
93
- if (!result || typeof result.testSelection === "undefined") {
94
- throw new Error(
95
- `Invalid test selection result: ${JSON.stringify(result)}`
96
- );
97
- }
98
- return result;
99
- } catch (e) {
100
- console.error("[ERROR] MockThen - butThen failed:", e);
101
- throw e;
102
- }
103
- }
104
- };
105
- var MockSuite = class extends BaseSuite {
106
- constructor(name, index) {
107
- if (!name) {
108
- throw new Error("MockSuite requires a non-empty name");
109
- }
110
- console.log("[DEBUG] Creating MockSuite with name:", name, "index:", index);
111
- const suiteName = name || "testSuite";
112
- super(suiteName, index, {
113
- testGiven: new MockGiven(
114
- "testGiven",
115
- ["testFeature"],
116
- [new MockWhen("testWhen", () => Promise.resolve({ testStore: true }))],
117
- [
118
- new MockThen(
119
- "testThen",
120
- async () => Promise.resolve({ testSelection: true })
121
- )
122
- ]
123
- )
124
- });
125
- console.log("[DEBUG] MockSuite created:", this.name, this.index);
126
- }
127
- };
128
-
129
- // src/lib/BaseSuite.test/test.ts
130
- var specification = (Suite, Given, When, Then) => [
131
- Suite.Default("BaseSuite Core Functionality Tests", {
132
- // Test initialization and basic properties
133
- initialization: Given.Default(
134
- ["BaseSuite should initialize with correct name and index"],
135
- [],
136
- [Then.SuiteNameMatches("testSuite"), Then.SuiteIndexMatches(0)]
137
- )
138
- // // Test execution flow
139
- // execution: Given.Default(
140
- // ["BaseSuite should execute all phases successfully"],
141
- // [When.RunSuite()],
142
- // [Then.StoreValid()]
143
- // ),
144
- // // Test multiple features
145
- // multipleFeatures: Given.Default(
146
- // ["BaseSuite should handle multiple features"],
147
- // [When.AddFeature("additionalFeature")],
148
- // [
149
- // Then.FeaturesIncludes("testFeature"),
150
- // Then.FeaturesIncludes("additionalFeature"),
151
- // Then.FeatureCountMatches(2),
152
- // ]
153
- // ),
154
- // // Test error handling
155
- // errorHandling: Given.Default(
156
- // ["BaseSuite should handle errors gracefully"],
157
- // [When.RunSuiteWithError()],
158
- // [Then.ErrorCountMatches(1), Then.FailedFlagSet()]
159
- // ),
160
- })
161
- // Suite.Default("Comprehensive Integration", {
162
- // fullStackTest: Given.Default(
163
- // ["All components should work together"],
164
- // [
165
- // When.addArtifact(Promise.resolve("test")),
166
- // When.modifySpecs((specs) => [...specs, "extra"]),
167
- // When.modifyJobs((jobs) => [...jobs, {}]),
168
- // ],
169
- // [
170
- // Then.specsModified(1),
171
- // Then.jobsModified(1),
172
- // Then.artifactsTracked(),
173
- // Then.testRunSuccessful(),
174
- // ]
175
- // ),
176
- // }),
177
- ];
178
- var implementation = {
179
- suites: {
180
- Default: "BaseSuite Comprehensive Test Suite"
181
- },
182
- givens: {
183
- Default: () => {
184
- const suite = new MockSuite("testSuite", 0);
185
- console.log("[DEBUG] Created test suite:", suite.name, suite.index);
186
- return suite;
187
- }
188
- },
189
- whens: {
190
- addArtifact: (artifact) => (suite) => {
191
- suite.artifacts.push(artifact);
192
- return suite;
193
- },
194
- modifySpecs: (modifier) => (suite) => {
195
- suite.specs = modifier(suite.specs);
196
- return suite;
197
- },
198
- modifyJobs: (modifier) => (suite) => {
199
- suite.testJobs = modifier(suite.testJobs);
200
- return suite;
201
- },
202
- RunSuite: () => async (suite) => {
203
- console.log("[DEBUG] Running RunSuite");
204
- const mockConfig = {
205
- name: "test",
206
- fs: "/tmp",
207
- ports: [3e3],
208
- environment: {},
209
- timeout: 5e3,
210
- retries: 3
211
- };
212
- const mockArtifactory = (key, value) => {
213
- };
214
- const mockTLog = (...args) => {
215
- };
216
- const mockPM = {
217
- server: null,
218
- testResourceConfiguration: mockConfig,
219
- start: async () => {
220
- },
221
- stop: async () => {
222
- },
223
- testArtiFactoryfileWriter: () => {
224
- },
225
- $: () => {
226
- },
227
- click: () => {
228
- },
229
- closePage: () => {
230
- },
231
- createWriteStream: async () => ""
232
- };
233
- return await suite.run(
234
- null,
235
- mockConfig,
236
- mockArtifactory,
237
- mockTLog,
238
- mockPM
239
- );
240
- },
241
- RunSuiteWithError: () => async (suite) => {
242
- try {
243
- await suite.run(
244
- null,
245
- {},
246
- // Invalid config
247
- () => {
248
- },
249
- () => {
250
- },
251
- {}
252
- );
253
- } catch (e) {
254
- }
255
- return suite;
256
- },
257
- AddFeature: (feature) => (suite) => {
258
- const firstGivenKey = Object.keys(suite.givens)[0];
259
- if (firstGivenKey) {
260
- suite.givens[firstGivenKey].features.push(feature);
261
- }
262
- return suite;
263
- }
264
- },
265
- thens: {
266
- SuiteNameMatches: (expectedName) => (suite) => {
267
- console.log(
268
- "[DEBUG] SuiteNameMatches - expected:",
269
- expectedName,
270
- "actual:",
271
- suite?.name
272
- );
273
- if (!suite?.name) {
274
- throw new Error(`Suite name is undefined. Expected: ${expectedName}`);
275
- }
276
- if (suite.name !== expectedName) {
277
- throw new Error(
278
- `Expected suite name '${expectedName}', got '${suite.name}'`
279
- );
280
- }
281
- return suite;
282
- },
283
- SuiteIndexMatches: (expectedIndex) => (suite) => {
284
- if (suite.index !== expectedIndex) {
285
- throw new Error(
286
- `Expected suite index ${expectedIndex}, got ${suite.index}`
287
- );
288
- }
289
- return suite;
290
- },
291
- FeaturesIncludes: (feature) => (suite) => {
292
- if (!suite.features().includes(feature)) {
293
- throw new Error(`Expected features to include ${feature}`);
294
- }
295
- return suite;
296
- },
297
- FeatureCountMatches: (expectedCount) => (suite) => {
298
- const actualCount = suite.features().length;
299
- if (actualCount !== expectedCount) {
300
- throw new Error(
301
- `Expected ${expectedCount} features, got ${actualCount}`
302
- );
303
- }
304
- return suite;
305
- },
306
- StoreValid: () => (suite) => {
307
- if (!suite.store?.testStore) {
308
- throw new Error("Expected valid store after execution");
309
- }
310
- return suite;
311
- },
312
- NoErrorsOccurred: () => (suite) => {
313
- if (suite.failed || suite.fails > 0) {
314
- throw new Error("Expected no errors to occur during execution");
315
- }
316
- return suite;
317
- },
318
- ErrorCountMatches: (expectedCount) => (suite) => {
319
- if (suite.fails !== expectedCount) {
320
- throw new Error(
321
- `Expected ${expectedCount} errors, got ${suite.fails}`
322
- );
323
- }
324
- return suite;
325
- },
326
- FailedFlagSet: () => (suite) => {
327
- if (!suite.failed) {
328
- throw new Error("Expected failed flag to be set after error");
329
- }
330
- return suite;
331
- },
332
- AllTestsCompleted: () => (suite) => {
333
- if (!suite.store) {
334
- throw new Error("Expected all tests to be completed");
335
- }
336
- return suite;
337
- },
338
- CleanExit: () => (suite) => {
339
- if (suite.failed && suite.fails === 0) {
340
- throw new Error("Expected clean exit state");
341
- }
342
- return suite;
343
- },
344
- specsModified: (expectedCount) => (suite) => {
345
- if (suite.specs.length !== expectedCount) {
346
- throw new Error(`Expected ${expectedCount} modified specs`);
347
- }
348
- return suite;
349
- },
350
- jobsModified: (expectedCount) => (suite) => {
351
- if (suite.testJobs.length !== expectedCount) {
352
- throw new Error(`Expected ${expectedCount} modified jobs`);
353
- }
354
- return suite;
355
- },
356
- artifactsTracked: () => (suite) => {
357
- if (suite.artifacts.length === 0) {
358
- throw new Error("Expected artifacts to be tracked");
359
- }
360
- return suite;
361
- },
362
- testRunSuccessful: () => (suite) => {
363
- if (suite.failed) {
364
- throw new Error("Expected test run to be successful");
365
- }
366
- return suite;
367
- }
368
- }
369
- };
370
- var testAdapter = {
371
- beforeEach: async (subject, initializer, testResource, initialValues, pm) => {
372
- console.log("[DEBUG] Running beforeEach with subject:", subject);
373
- try {
374
- const suite = await initializer();
375
- if (!suite) {
376
- throw new Error("Initializer returned undefined suite");
377
- }
378
- console.log("[DEBUG] beforeEach result:", {
379
- name: suite.name,
380
- index: suite.index,
381
- store: suite.store
382
- });
383
- return {
384
- name: suite.name,
385
- index: suite.index,
386
- testStore: true,
387
- testSelection: false,
388
- ...suite.store || {}
389
- };
390
- } catch (e) {
391
- console.error("Given error:", e);
392
- throw e;
393
- }
394
- },
395
- andWhen: async (store, whenCB, testResource, pm) => whenCB(store, pm),
396
- butThen: async (store, thenCB, testResource, pm) => {
397
- console.log(
398
- "[DEBUG] butThen - input store:",
399
- JSON.stringify(store, null, 2)
400
- );
401
- const testSelection = {
402
- testSelection: store.testSelection || false,
403
- error: store.error ? true : void 0
404
- };
405
- console.log(
406
- "[DEBUG] butThen - created testSelection:",
407
- JSON.stringify(testSelection, null, 2)
408
- );
409
- try {
410
- const result = await thenCB(testSelection);
411
- console.log("[DEBUG] butThen - result:", JSON.stringify(result, null, 2));
412
- if (!result || typeof result.testSelection === "undefined") {
413
- throw new Error(
414
- `Invalid test selection result: ${JSON.stringify(result)}`
415
- );
416
- }
417
- return result;
418
- } catch (e) {
419
- console.error("Then error:", e.toString());
420
- console.error("Full store state:", JSON.stringify(store, null, 2));
421
- throw e;
422
- }
423
- },
424
- afterEach: (store) => store,
425
- afterAll: (store, pm) => {
426
- },
427
- assertThis: (result) => !!result,
428
- beforeAll: async (input, testResource, pm) => input
429
- };
430
-
431
- // src/lib/BaseSuite.test/web.test.ts
432
- var web_test_default = Web_default(
433
- BaseSuite,
434
- specification,
435
- implementation,
436
- testAdapter
437
- );
438
- export {
439
- web_test_default as default
440
- };
@@ -1,2 +0,0 @@
1
-
2
- Fix the failing tests described in testeranto/reports/allTests/src/Pure.test/pure/tests.json and testeranto/reports/allTests/src/Pure.test/pure/logs.txt. Focus on the bdd tests before all other concerns. You may add any debugging you think is necessary.
@@ -1,13 +0,0 @@
1
-
2
- /add src/lib/pmProxy.test/mockPMBase.ts
3
- /add src/Pure.test.ts
4
-
5
- /read node_modules/testeranto/docs/index.md
6
- /read node_modules/testeranto/docs/style.md
7
- /read node_modules/testeranto/docs/testing.ai.txt
8
- /read node_modules/testeranto/src/CoreTypes.ts
9
-
10
- /read testeranto/reports/allTests/src/Pure.test/pure/tests.json
11
- /read testeranto/reports/allTests/src/Pure.test/pure/logs.txt
12
- /read testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt
13
- /read testeranto/reports/allTests/src/Pure.test/pure/lint_errors.txt
@@ -1,101 +0,0 @@
1
- /Users/adam/Code/testeranto/src/lib/abstractBase.ts (244,17): Catch clause variable type annotation must be 'any' or 'unknown' if specified.
2
- /Users/adam/Code/testeranto/src/lib/abstractBase.ts (301,39): Expected 1 arguments, but got 2.
3
- /Users/adam/Code/testeranto/src/lib/basebuilder.ts (79,15): This expression is not callable.
4
- Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
5
- Type 'void' has no call signatures.
6
- /Users/adam/Code/testeranto/src/lib/classBuilder.ts (86,18): A spread argument must either have a tuple type or be passed to a rest parameter.
7
- /Users/adam/Code/testeranto/src/lib/classBuilder.ts (101,28): A spread argument must either have a tuple type or be passed to a rest parameter.
8
- /Users/adam/Code/testeranto/src/lib/core.ts (46,7): Argument of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....' is not assignable to parameter of type 'Omit<{ suites: import("/Users/adam/Code/testeranto/src/Types").TestSuiteImplementation<O>; givens: import("/Users/adam/Code/testeranto/src/Types").TestGivenImplementation<I, O>; whens: import("/Users/adam/Code/testeranto/src/Types").TestWhenImplementation<...>; thens: import("/Users/adam/Code/testeranto/src/Types")....'.
9
- Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }' is not assignable to type '{ suites: Record<string, never>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }'.
10
- Types of property 'suites' are incompatible.
11
- Type 'Record<string, any>' is not assignable to type 'Record<string, never>'.
12
- 'string' index signatures are incompatible.
13
- Type 'any' is not assignable to type 'never'.
14
- /Users/adam/Code/testeranto/src/lib/index.ts (16,3): 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<...>'.
15
- Types of parameters 'initialValues' and 'initializer' are incompatible.
16
- Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
17
- 'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
18
- /Users/adam/Code/testeranto/src/lib/index.ts (18,20): Type '"iinitialValues"' cannot be used to index type 'T'.
19
- /Users/adam/Code/testeranto/src/lib/index.ts (40,13): This expression is not callable.
20
- Type 'unknown' has no call signatures.
21
- /Users/adam/Code/testeranto/src/lib/index.ts (52,3): 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 'ITestAdapter<T>'.
22
- Types of property 'assertThis' are incompatible.
23
- Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
24
- Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
25
- /Users/adam/Code/testeranto/src/PM/pure.ts (114,3): Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
26
- Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
27
- Types of parameters 'opts' and 'opts' are incompatible.
28
- Type '{ path: string; }' is not assignable to type 'ScreencastOptions'.
29
- Types of property 'path' are incompatible.
30
- Type 'string' is not assignable to type '`${string}.webm`'.
31
- /Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
32
- /Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
33
- /Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
34
- /Users/adam/Code/testeranto/src/Pure.test.ts (58,20): 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'.
35
- 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'.
36
- /Users/adam/Code/testeranto/src/Pure.test.ts (82,5): 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; }>'.
37
- Call signature return types '(store: { pm: IPM; }) => { pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>' are incompatible.
38
- Type '{ pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' is not assignable to type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
39
- Type '{ pm: IPM; }' is missing the following properties from type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>': then, catch, finally, [Symbol.toStringTag]
40
- /Users/adam/Code/testeranto/src/Pure.test.ts (115,5): Type '(artifact: Promise<string>) => (store: { pm: IPM; }) => { artifacts: any[]; pm: IPM; }' is not assignable to type '(Iw_0: Promise<string>) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
41
- Call signature return types '(store: { pm: IPM; }) => { artifacts: any[]; pm: IPM; }' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>' are incompatible.
42
- Type '{ artifacts: any[]; pm: IPM; }' is missing the following properties from type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>': then, catch, finally, [Symbol.toStringTag]
43
- /Users/adam/Code/testeranto/src/Pure.test.ts (119,31): Property 'artifacts' does not exist on type '{ pm: IPM; }'.
44
- /Users/adam/Code/testeranto/src/Pure.test.ts (122,5): Type '(jobs: any[]) => (store: { pm: IPM; }) => { testJobs: any[]; pm: IPM; }' is not assignable to type '(Iw_0: any[]) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
45
- Call signature return types '(store: { pm: IPM; }) => { testJobs: any[]; pm: IPM; }' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>' are incompatible.
46
- Type '{ testJobs: any[]; pm: IPM; }' is missing the following properties from type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>': then, catch, finally, [Symbol.toStringTag]
47
- /Users/adam/Code/testeranto/src/Pure.test.ts (129,5): Type '(modifier: (specs: any) => any[]) => (store: { pm: IPM; }) => { specs: any[]; pm: IPM; }' is not assignable to type '(Iw_0: (specs: any) => any[]) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
48
- Call signature return types '(store: { pm: IPM; }) => { specs: any[]; pm: IPM; }' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>' are incompatible.
49
- Type '{ specs: any[]; pm: IPM; }' is missing the following properties from type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>': then, catch, finally, [Symbol.toStringTag]
50
- /Users/adam/Code/testeranto/src/Pure.test.ts (133,31): Property 'specs' does not exist on type '{ pm: IPM; }'.
51
- /Users/adam/Code/testeranto/src/Pure.test.ts (139,32): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
52
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
53
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
54
- /Users/adam/Code/testeranto/src/Pure.test.ts (145,27): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
55
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
56
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
57
- /Users/adam/Code/testeranto/src/Pure.test.ts (146,20): Property 'getCallCount' does not exist on type 'IPM'.
58
- Property 'getCallCount' does not exist on type 'PM_Pure'.
59
- /Users/adam/Code/testeranto/src/Pure.test.ts (151,24): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
60
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
61
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
62
- /Users/adam/Code/testeranto/src/Pure.test.ts (155,29): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
63
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
64
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
65
- /Users/adam/Code/testeranto/src/Pure.test.ts (159,30): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
66
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
67
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
68
- /Users/adam/Code/testeranto/src/Pure.test.ts (160,20): Property 'getCallCount' does not exist on type 'IPM'.
69
- Property 'getCallCount' does not exist on type 'PM_Pure'.
70
- /Users/adam/Code/testeranto/src/Pure.test.ts (165,5): Type '(expectedCount: number) => (store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(It_0: number) => (ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
71
- Call signature return types '(store: { pm: IPM; }) => { pm: IPM; }' and '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }' are incompatible.
72
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
73
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
74
- /Users/adam/Code/testeranto/src/Pure.test.ts (166,36): Property 'getCallCount' does not exist on type 'IPM'.
75
- Property 'getCallCount' does not exist on type 'PM_Pure'.
76
- /Users/adam/Code/testeranto/src/Pure.test.ts (174,5): Type '(expectedPath: string) => (store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(It_0: string) => (ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
77
- Call signature return types '(store: { pm: IPM; }) => { pm: IPM; }' and '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }' are incompatible.
78
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
79
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
80
- /Users/adam/Code/testeranto/src/Pure.test.ts (177,35): Property 'getLastCall' does not exist on type 'IPM'.
81
- Property 'getLastCall' does not exist on type 'PM_Pure'.
82
- /Users/adam/Code/testeranto/src/Pure.test.ts (183,26): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
83
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
84
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
85
- /Users/adam/Code/testeranto/src/Pure.test.ts (184,20): Property 'getCallCount' does not exist on type 'IPM'.
86
- Property 'getCallCount' does not exist on type 'PM_Pure'.
87
- /Users/adam/Code/testeranto/src/Pure.test.ts (189,5): Type '(expectedError: string) => (store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(It_0: string) => (ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
88
- Call signature return types '(store: { pm: IPM; }) => { pm: IPM; }' and '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }' are incompatible.
89
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
90
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
91
- /Users/adam/Code/testeranto/src/Pure.test.ts (202,33): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
92
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
93
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
94
- /Users/adam/Code/testeranto/src/Pure.test.ts (208,31): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
95
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
96
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
97
- /Users/adam/Code/testeranto/src/Pure.test.ts (216,29): Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
98
- Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
99
- Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
100
- /Users/adam/Code/testeranto/src/Pure.ts (32,7): 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 & { ...; }'.
101
- 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
@@ -1,13 +0,0 @@
1
- src/components/TestStatusBadge.tsx
2
- 13:16 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
3
- - undefined (fix)
4
- - undefined (fix)
5
- 14:17 Unexpected any. Specify a different type. (@typescript-eslint/no-explicit-any)
6
- - undefined (fix)
7
- - undefined (fix)
8
-
9
- src/components/pure/ProjectPageView.test/implementation.tsx
10
- 1:18 'expect' is defined but never used. (@typescript-eslint/no-unused-vars)
11
- 45:18 'container' is defined but never used. (@typescript-eslint/no-unused-vars)
12
- 45:29 'html' is defined but never used. (@typescript-eslint/no-unused-vars)
13
- 47:11 Unexpected 'debugger' statement. (no-debugger)