testeranto 0.146.2 → 0.146.5

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 (215) hide show
  1. package/dist/common/src/Node.js +9 -6
  2. package/dist/common/src/PM/PM_WithEslintAndTsc.js +75 -58
  3. package/dist/common/src/PM/main.js +131 -79
  4. package/dist/common/src/PM/node.js +1 -14
  5. package/dist/common/src/PM/nodeSidecar.js +0 -1
  6. package/dist/common/src/Pure.js +17 -1
  7. package/dist/common/src/Pure.test.js +172 -0
  8. package/dist/common/src/build.js +0 -1
  9. package/dist/common/src/esbuildConfigs/consoleDetectorPlugin.js +22 -11
  10. package/dist/common/src/esbuildConfigs/nativeImportDetectorPlugin.js +24 -0
  11. package/dist/common/src/esbuildConfigs/pure.js +2 -1
  12. package/dist/common/src/esbuildConfigs/rebuildPlugin.js +1 -4
  13. package/dist/common/src/lib/BaseSuite.js +89 -0
  14. package/dist/common/src/lib/BaseSuite.test/node.test.js +9 -0
  15. package/dist/common/src/lib/BaseSuite.test/pure.test.js +9 -0
  16. package/dist/common/src/lib/BaseSuite.test/test.js +232 -0
  17. package/dist/common/src/lib/BaseSuite.test/web.test.js +9 -0
  18. package/dist/common/src/lib/abstractBase.js +1 -90
  19. package/dist/common/src/lib/abstractBase.test/MockGiven.js +17 -0
  20. package/dist/common/src/lib/abstractBase.test/MockThen.js +13 -0
  21. package/dist/common/src/lib/abstractBase.test/MockWhen.js +13 -0
  22. package/dist/common/src/lib/abstractBase.test/implementation.js +42 -0
  23. package/dist/common/src/lib/abstractBase.test/index.js +17 -0
  24. package/dist/common/src/lib/abstractBase.test/interface.js +12 -0
  25. package/dist/common/src/lib/abstractBase.test/specification.js +19 -0
  26. package/dist/common/src/lib/abstractBase.test/types.js +2 -0
  27. package/dist/common/src/lib/baseBuilder.test/TestBaseBuilder.js +36 -0
  28. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +97 -0
  29. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.interface.js +17 -0
  30. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.node.js +11 -0
  31. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.pure.js +11 -0
  32. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.specification.js +13 -0
  33. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.types.js +2 -0
  34. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.web.js +11 -0
  35. package/dist/common/src/lib/basebuilder.js +2 -20
  36. package/dist/common/src/lib/classBuilder.test/TestClassBuilder.js +41 -0
  37. package/dist/common/src/lib/classBuilder.test/classBuilder.test.implementation.js +182 -0
  38. package/dist/common/src/lib/classBuilder.test/classBuilder.test.interface.js +17 -0
  39. package/dist/common/src/lib/classBuilder.test/classBuilder.test.js +11 -0
  40. package/dist/common/src/lib/classBuilder.test/classBuilder.test.specification.js +41 -0
  41. package/dist/common/src/lib/classBuilder.test/classBuilder.test.types.js +2 -0
  42. package/dist/common/src/lib/core.js +4 -13
  43. package/dist/common/src/lib/core.test/MockCore.js +25 -0
  44. package/dist/common/src/lib/core.test/core.test.implementation.js +102 -0
  45. package/dist/common/src/lib/core.test/core.test.interface.js +18 -0
  46. package/dist/common/src/lib/core.test/core.test.js +17 -0
  47. package/dist/common/src/lib/core.test/core.test.specification.js +33 -0
  48. package/dist/common/src/lib/core.test/core.test.types.js +2 -0
  49. package/dist/common/src/lib/pmProxy.js +9 -166
  50. package/dist/common/src/lib/pmProxy.test/implementation.js +76 -0
  51. package/dist/common/src/lib/pmProxy.test/index.js +15 -0
  52. package/dist/common/src/lib/pmProxy.test/interface.js +37 -0
  53. package/dist/common/src/lib/pmProxy.test/mockPM.js +34 -0
  54. package/dist/common/src/lib/pmProxy.test/mockPMBase.js +115 -0
  55. package/dist/common/src/lib/pmProxy.test/specification.js +39 -0
  56. package/dist/common/src/lib/pmProxy.test/types.js +2 -0
  57. package/dist/common/src/run.js +6 -6
  58. package/dist/common/testeranto.config.js +33 -18
  59. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  60. package/dist/module/src/Node.js +9 -6
  61. package/dist/module/src/PM/PM_WithEslintAndTsc.js +75 -58
  62. package/dist/module/src/PM/main.js +131 -79
  63. package/dist/module/src/PM/node.js +1 -14
  64. package/dist/module/src/PM/nodeSidecar.js +0 -1
  65. package/dist/module/src/Pure.js +17 -1
  66. package/dist/module/src/Pure.test.js +167 -0
  67. package/dist/module/src/build.js +0 -1
  68. package/dist/module/src/esbuildConfigs/consoleDetectorPlugin.js +19 -11
  69. package/dist/module/src/esbuildConfigs/nativeImportDetectorPlugin.js +21 -0
  70. package/dist/module/src/esbuildConfigs/pure.js +2 -1
  71. package/dist/module/src/esbuildConfigs/rebuildPlugin.js +1 -4
  72. package/dist/module/src/lib/BaseSuite.js +85 -0
  73. package/dist/module/src/lib/BaseSuite.test/node.test.js +4 -0
  74. package/dist/module/src/lib/BaseSuite.test/pure.test.js +4 -0
  75. package/dist/module/src/lib/BaseSuite.test/test.js +227 -0
  76. package/dist/module/src/lib/BaseSuite.test/web.test.js +4 -0
  77. package/dist/module/src/lib/abstractBase.js +1 -89
  78. package/dist/module/src/lib/abstractBase.test/MockGiven.js +13 -0
  79. package/dist/module/src/lib/abstractBase.test/MockThen.js +9 -0
  80. package/dist/module/src/lib/abstractBase.test/MockWhen.js +9 -0
  81. package/dist/module/src/lib/abstractBase.test/implementation.js +39 -0
  82. package/dist/module/src/lib/abstractBase.test/index.js +12 -0
  83. package/dist/module/src/lib/abstractBase.test/interface.js +9 -0
  84. package/dist/module/src/lib/abstractBase.test/specification.js +15 -0
  85. package/dist/module/src/lib/abstractBase.test/types.js +1 -0
  86. package/dist/module/src/lib/baseBuilder.test/TestBaseBuilder.js +32 -0
  87. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +94 -0
  88. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.interface.js +14 -0
  89. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.node.js +6 -0
  90. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.pure.js +6 -0
  91. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.specification.js +9 -0
  92. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.types.js +1 -0
  93. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.web.js +6 -0
  94. package/dist/module/src/lib/basebuilder.js +2 -20
  95. package/dist/module/src/lib/classBuilder.test/TestClassBuilder.js +37 -0
  96. package/dist/module/src/lib/classBuilder.test/classBuilder.test.implementation.js +179 -0
  97. package/dist/module/src/lib/classBuilder.test/classBuilder.test.interface.js +14 -0
  98. package/dist/module/src/lib/classBuilder.test/classBuilder.test.js +6 -0
  99. package/dist/module/src/lib/classBuilder.test/classBuilder.test.specification.js +37 -0
  100. package/dist/module/src/lib/classBuilder.test/classBuilder.test.types.js +1 -0
  101. package/dist/module/src/lib/core.js +3 -12
  102. package/dist/module/src/lib/core.test/MockCore.js +18 -0
  103. package/dist/module/src/lib/core.test/core.test.implementation.js +99 -0
  104. package/dist/module/src/lib/core.test/core.test.interface.js +15 -0
  105. package/dist/module/src/lib/core.test/core.test.js +12 -0
  106. package/dist/module/src/lib/core.test/core.test.specification.js +29 -0
  107. package/dist/module/src/lib/core.test/core.test.types.js +1 -0
  108. package/dist/module/src/lib/pmProxy.js +9 -166
  109. package/dist/module/src/lib/pmProxy.test/implementation.js +73 -0
  110. package/dist/module/src/lib/pmProxy.test/index.js +10 -0
  111. package/dist/module/src/lib/pmProxy.test/interface.js +34 -0
  112. package/dist/module/src/lib/pmProxy.test/mockPM.js +30 -0
  113. package/dist/module/src/lib/pmProxy.test/mockPMBase.js +111 -0
  114. package/dist/module/src/lib/pmProxy.test/specification.js +35 -0
  115. package/dist/module/src/lib/pmProxy.test/types.js +1 -0
  116. package/dist/module/src/run.js +6 -6
  117. package/dist/module/testeranto.config.js +33 -18
  118. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  119. package/dist/prebuild/Project.js +16 -15
  120. package/dist/prebuild/TestReport.js +14 -12
  121. package/dist/prebuild/build.mjs +34 -34
  122. package/dist/prebuild/run.mjs +259 -173
  123. package/dist/tsconfig.tsbuildinfo +1 -1
  124. package/dist/types/src/PM/PM_WithEslintAndTsc.d.ts +2 -1
  125. package/dist/types/src/PM/main.d.ts +5 -2
  126. package/dist/types/src/Pure.d.ts +2 -2
  127. package/dist/types/src/Pure.test.d.ts +36 -0
  128. package/dist/types/src/Types.d.ts +7 -6
  129. package/dist/types/src/Web.d.ts +1 -1
  130. package/dist/types/src/esbuildConfigs/consoleDetectorPlugin.d.ts +1 -1
  131. package/dist/types/src/esbuildConfigs/nativeImportDetectorPlugin.d.ts +2 -0
  132. package/dist/types/src/lib/BaseSuite.d.ts +39 -0
  133. package/dist/types/src/lib/BaseSuite.test/node.test.d.ts +3 -0
  134. package/dist/types/src/lib/BaseSuite.test/pure.test.d.ts +3 -0
  135. package/dist/types/src/lib/BaseSuite.test/test.d.ts +42 -0
  136. package/dist/types/src/lib/BaseSuite.test/web.test.d.ts +3 -0
  137. package/dist/types/src/lib/abstractBase.d.ts +1 -36
  138. package/dist/types/src/lib/abstractBase.test/MockGiven.d.ts +7 -0
  139. package/dist/types/src/lib/abstractBase.test/MockThen.d.ts +6 -0
  140. package/dist/types/src/lib/abstractBase.test/MockWhen.d.ts +6 -0
  141. package/dist/types/src/lib/abstractBase.test/implementation.d.ts +3 -0
  142. package/dist/types/src/lib/abstractBase.test/index.d.ts +3 -0
  143. package/dist/types/src/lib/abstractBase.test/interface.d.ts +3 -0
  144. package/dist/types/src/lib/abstractBase.test/specification.d.ts +3 -0
  145. package/dist/types/src/lib/abstractBase.test/types.d.ts +39 -0
  146. package/dist/types/src/lib/baseBuilder.test/TestBaseBuilder.d.ts +15 -0
  147. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.implementation.d.ts +3 -0
  148. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.interface.d.ts +3 -0
  149. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.node.d.ts +3 -0
  150. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.pure.d.ts +3 -0
  151. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.specification.d.ts +3 -0
  152. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.types.d.ts +20 -0
  153. package/dist/types/src/lib/baseBuilder.test/baseBuilder.test.web.d.ts +3 -0
  154. package/dist/types/src/lib/classBuilder.test/TestClassBuilder.d.ts +21 -0
  155. package/dist/types/src/lib/classBuilder.test/classBuilder.test.d.ts +3 -0
  156. package/dist/types/src/lib/classBuilder.test/classBuilder.test.implementation.d.ts +3 -0
  157. package/dist/types/src/lib/classBuilder.test/classBuilder.test.interface.d.ts +3 -0
  158. package/dist/types/src/lib/classBuilder.test/classBuilder.test.specification.d.ts +3 -0
  159. package/dist/types/src/lib/classBuilder.test/classBuilder.test.types.d.ts +56 -0
  160. package/dist/types/src/lib/core.d.ts +1 -1
  161. package/dist/types/src/lib/core.test/MockCore.d.ts +10 -0
  162. package/dist/types/src/lib/core.test/core.test.d.ts +3 -0
  163. package/dist/types/src/lib/core.test/core.test.implementation.d.ts +3 -0
  164. package/dist/types/src/lib/core.test/core.test.interface.d.ts +3 -0
  165. package/dist/types/src/lib/core.test/core.test.specification.d.ts +3 -0
  166. package/dist/types/src/lib/core.test/core.test.types.d.ts +46 -0
  167. package/dist/types/src/lib/index.d.ts +2 -1
  168. package/dist/types/src/lib/pmProxy.d.ts +11 -6
  169. package/dist/types/src/lib/pmProxy.test/implementation.d.ts +3 -0
  170. package/dist/types/src/lib/pmProxy.test/index.d.ts +7 -0
  171. package/dist/types/src/lib/pmProxy.test/interface.d.ts +3 -0
  172. package/dist/types/src/lib/pmProxy.test/mockPM.d.ts +10 -0
  173. package/dist/types/src/lib/pmProxy.test/mockPMBase.d.ts +39 -0
  174. package/dist/types/src/lib/pmProxy.test/specification.d.ts +3 -0
  175. package/dist/types/src/lib/pmProxy.test/types.d.ts +42 -0
  176. package/dist/types/src/lib/types.d.ts +2 -1
  177. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  178. package/docs.html +35 -33
  179. package/index.html +23 -30
  180. package/package.json +8 -18
  181. package/src/lib/basebuilder.ts +0 -24
  182. package/testeranto/Project.css +1 -26
  183. package/testeranto/Project.js +3337 -385
  184. package/testeranto/TestReport.css +1 -26
  185. package/testeranto/TestReport.js +43 -16
  186. package/testeranto/bundles/node/allTests/metafile.json +1 -1
  187. package/testeranto/bundles/pure/allTests/metafile.json +1 -1
  188. package/testeranto/bundles/web/allTests/metafile.json +1 -1
  189. package/testeranto/index.html +1 -1
  190. package/testeranto/reports/allTests/index.html +1 -1
  191. package/testeranto/reports/allTests/src/Pure.test/pure/index.html +1 -1
  192. package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.json +137 -1539
  193. package/testeranto/reports/allTests/src/Pure.test/pure/logs.txt +2 -2
  194. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/index.html +1 -1
  195. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.json +58 -620
  196. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/index.html +1 -1
  197. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.json +58 -620
  198. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt +2 -2
  199. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/index.html +1 -1
  200. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/lint_errors.json +58 -620
  201. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html +1 -1
  202. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.json +104 -966
  203. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html +1 -1
  204. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.json +104 -966
  205. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html +1 -1
  206. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.json +104 -966
  207. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html +1 -1
  208. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.json +63 -791
  209. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/index.html +1 -1
  210. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.json +39 -416
  211. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/index.html +1 -1
  212. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.json +156 -1724
  213. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +3 -3
  214. package/testeranto.config.ts +1 -1
  215. package/tsc.log +36 -38
@@ -2,10 +2,10 @@ stdout > mark4
2
2
  args [
3
3
  '/Users/adam/.nvm/versions/node/v20.4.0/bin/node',
4
4
  '/Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs',
5
- '{"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/e86a7a37-a4ff-45dd-9f53-47f559d0b440"}',
6
- '/tmp/tpipe_0.4437348145810549'
5
+ '{"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/d3364a51-961d-404f-a774-3283bce03863"}',
6
+ '/tmp/tpipe_0.5620358830790497'
7
7
  ]
8
- receiveTestResourceConfig {"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/e86a7a37-a4ff-45dd-9f53-47f559d0b440"}
8
+ receiveTestResourceConfig {"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/d3364a51-961d-404f-a774-3283bce03863"}
9
9
  stderr > Given error 1: TypeError: store.butThenProxy is not a function
10
10
  at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:137:31)
11
11
  at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:606:29
@@ -105,6 +105,6 @@ const config: IProject = {
105
105
  importPlugins: [],
106
106
  },
107
107
  },
108
- reportDomain: "https://adamwong246.github.io/testeranto",
108
+ reportDomain: "https://adamwong246.github.io/testeranto/testeranto",
109
109
  };
110
110
  export default config;
package/tsc.log CHANGED
@@ -109,12 +109,12 @@ src/lib/BaseSuite.test/test.ts(248,35): error TS2322: Type 'TestableSuite' is no
109
109
  src/lib/BaseSuite.test/test.ts(254,7): error TS2322: Type '(suite: TestableSuite) => Promise<TestableSuite>' is not assignable to type '(zel: TestSelection, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: TestStore) => Promise<TestStore>>'.
110
110
  Types of parameters 'suite' and 'zel' are incompatible.
111
111
  Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
112
- src/lib/BaseSuite.test/test.ts(274,11): error TS2322: Type '() => void' is not assignable to type '((selector: string, page: string) => Promise<unknown>) | ((selector: string) => boolean) | ((selector: string) => boolean)'.
113
- Type '() => void' is not assignable to type '(selector: string, page: string) => Promise<unknown>'.
114
- Type 'void' is not assignable to type 'Promise<unknown>'.
115
- src/lib/BaseSuite.test/test.ts(276,11): error TS2322: Type '() => void' is not assignable to type '((p: any) => Promise<unknown>) | ((p: any) => string) | ((p: any) => string)'.
116
- Type '() => void' is not assignable to type '(p: any) => Promise<unknown>'.
117
- Type 'void' is not assignable to type 'Promise<unknown>'.
112
+ src/lib/BaseSuite.test/test.ts(274,11): error TS2322: Type '() => void' is not assignable to type '((selector: string) => boolean) | ((selector: string) => boolean) | ((selector: string, page: string) => Promise<unknown>)'.
113
+ Type '() => void' is not assignable to type '(selector: string) => boolean'.
114
+ Type 'void' is not assignable to type 'boolean'.
115
+ src/lib/BaseSuite.test/test.ts(276,11): error TS2322: Type '() => void' is not assignable to type '((p: any) => string) | ((p: any) => string) | ((p: any) => Promise<unknown>)'.
116
+ Type '() => void' is not assignable to type '(p: any) => string'.
117
+ Type 'void' is not assignable to type 'string'.
118
118
  src/lib/BaseSuite.test/test.ts(281,11): error TS2345: Argument of type 'null' is not assignable to parameter of type 'typeof BaseSuite'.
119
119
  src/lib/BaseSuite.test/test.ts(295,13): error TS2345: Argument of type 'null' is not assignable to parameter of type 'typeof BaseSuite'.
120
120
  src/lib/BaseSuite.test/test.ts(342,5): error TS2322: Type '(feature: string) => ((suite: TestableSuite) => TestableSuite)' is not assignable to type '(feature: string) => (ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
@@ -130,35 +130,34 @@ src/lib/BaseSuite.test/test.ts(446,44): error TS2554: Expected 1 arguments, but
130
130
  src/lib/BaseSuite.test/test.ts(453,48): error TS2554: Expected 1 arguments, but got 2.
131
131
  src/lib/BaseSuite.test/test.ts(455,3): error TS2322: Type '(store: I["istore"]) => I["istore"]' is not assignable to type '(store: TestStore, key: string, pm: IPM) => Promise<unknown>'.
132
132
  Type 'TestStore' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
133
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(11,3): error TS2741: Property 'ExtendedSuite' is missing in type '{ Default: string; }' but required in type 'TestSuiteImplementation<O>'.
134
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(21,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
133
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(12,3): error TS2741: Property 'ExtendedSuite' is missing in type '{ Default: string; }' but required in type 'TestSuiteImplementation<O>'.
134
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(22,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
135
135
  Type 'typeof (Anonymous class)' provides no match for the signature '(name: string, index: number, givens: IGivens<I>, checks: BaseCheck<I>[]): BaseSuite<I, O>'.
136
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(34,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
136
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(35,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
137
137
  Type 'typeof (Anonymous class)' provides no match for the signature '(name: string, index: number, givens: IGivens<I>, checks: BaseCheck<I>[]): BaseSuite<I, O>'.
138
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(47,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
138
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(48,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
139
139
  Type 'typeof (Anonymous class)' provides no match for the signature '(name: string, index: number, givens: IGivens<I>, checks: BaseCheck<I>[]): BaseSuite<I, O>'.
140
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(60,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
140
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(61,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<I, O>'.
141
141
  Type 'typeof (Anonymous class)' provides no match for the signature '(name: string, index: number, givens: IGivens<I>, checks: BaseCheck<I>[]): BaseSuite<I, O>'.
142
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(73,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<any, any>'.
142
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(74,9): error TS2345: Argument of type 'typeof (Anonymous class)' is not assignable to parameter of type 'ISuiteKlasser<any, any>'.
143
143
  Type 'typeof (Anonymous class)' provides no match for the signature '(name: string, index: number, givens: IGivens<any>, checks: BaseCheck<any>[]): BaseSuite<any, any>'.
144
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(182,30): error TS2322: Type '(builder: ClassBuilder<any, any, any>) => Promise<ClassBuilder<any, any, any>>' is not assignable to type '(builder: ClassBuilder<any, any, any>) => ClassBuilder<any, any, any>'.
144
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(183,30): error TS2322: Type '(builder: ClassBuilder<any, any, any>) => Promise<ClassBuilder<any, any, any>>' is not assignable to type '(builder: ClassBuilder<any, any, any>) => ClassBuilder<any, any, any>'.
145
145
  Type 'Promise<ClassBuilder<any, any, any>>' is missing the following properties from type 'ClassBuilder<any, any, any>': specs, assertThis, testResourceRequirement, artifacts, and 14 more.
146
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(184,23): error TS2339: Property 'testRun' does not exist on type 'ClassBuilder<any, any, any>'.
147
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(199,20): error TS2322: Type 'PassThrough' is not assignable to type '() => ClassBuilder<any, any, any>'.
146
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(185,23): error TS2339: Property 'testRun' does not exist on type 'ClassBuilder<any, any, any>'.
147
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(200,20): error TS2322: Type 'PassThrough' is not assignable to type '() => ClassBuilder<any, any, any>'.
148
148
  Type 'Transform' provides no match for the signature '(): ClassBuilder<any, any, any>'.
149
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(200,41): error TS2322: Type 'boolean' is not assignable to type '() => ClassBuilder<any, any, any>'.
150
- src/lib/classBuilder.test/classBuilder.test.implementation.ts(201,40): error TS2322: Type 'boolean' is not assignable to type '() => ClassBuilder<any, any, any>'.
151
- src/lib/classBuilder.test/classBuilder.test.interface.ts(4,14): error TS2741: Property 'beforeAll' is missing in type '{ beforeEach: (subject: BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => BaseBuilder<any, any, any, any, any, any>) => Promise<() => BaseBuilder<any, any, any, any, any, any>>; ... 4 more ...; assertThis: (x: any) => void; }' but required in type 'ITestInterface<I>'.
152
- src/lib/classBuilder.test/classBuilder.test.interface.ts(9,26): error TS2554: Expected 1 arguments, but got 2.
153
- src/lib/classBuilder.test/classBuilder.test.interface.ts(12,26): error TS2554: Expected 1 arguments, but got 2.
154
- src/lib/classBuilder.test/classBuilder.test.specification.ts(21,28): error TS2554: Expected 4 arguments, but got 3.
155
- src/lib/classBuilder.test/classBuilder.test.specification.ts(26,37): error TS2554: Expected 4 arguments, but got 3.
156
- src/lib/classBuilder.test/classBuilder.test.specification.ts(69,37): error TS2554: Expected 4 arguments, but got 3.
157
- src/lib/classBuilder.test/classBuilder.test.specification.ts(70,11): error TS2552: Cannot find name 'implementation'. Did you mean 'DOMImplementation'?
158
- src/lib/classBuilder.test/classBuilder.test.specification.ts(74,36): error TS2554: Expected 4 arguments, but got 3.
159
- src/lib/classBuilder.test/classBuilder.test.specification.ts(88,54): error TS2304: Cannot find name 'ITestJob'.
160
- src/lib/classBuilder.test/classBuilder.test.specification.ts(107,15): error TS2554: Expected 4 arguments, but got 1.
149
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(201,41): error TS2322: Type 'boolean' is not assignable to type '() => ClassBuilder<any, any, any>'.
150
+ src/lib/classBuilder.test/classBuilder.test.implementation.ts(202,40): error TS2322: Type 'boolean' is not assignable to type '() => ClassBuilder<any, any, any>'.
151
+ src/lib/classBuilder.test/classBuilder.test.interface.ts(5,14): error TS2741: Property 'beforeAll' is missing in type '{ beforeEach: (subject: BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => BaseBuilder<any, any, any, any, any, any>) => Promise<() => BaseBuilder<any, any, any, any, any, any>>; ... 4 more ...; assertThis: (x: any) => void; }' but required in type 'ITestInterface<I>'.
152
+ src/lib/classBuilder.test/classBuilder.test.interface.ts(10,26): error TS2554: Expected 1 arguments, but got 2.
153
+ src/lib/classBuilder.test/classBuilder.test.interface.ts(13,26): error TS2554: Expected 1 arguments, but got 2.
154
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(22,28): error TS2554: Expected 4 arguments, but got 3.
155
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(27,37): error TS2554: Expected 4 arguments, but got 3.
156
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(70,37): error TS2554: Expected 4 arguments, but got 3.
157
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(71,11): error TS2304: Cannot find name 'implementation'.
158
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(75,36): error TS2554: Expected 4 arguments, but got 3.
161
159
  src/lib/classBuilder.test/classBuilder.test.specification.ts(108,15): error TS2554: Expected 4 arguments, but got 1.
160
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(109,15): error TS2554: Expected 4 arguments, but got 1.
162
161
  src/lib/classBuilder.ts(90,18): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
163
162
  src/lib/classBuilder.ts(105,28): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
164
163
  src/lib/core.test/core.test.implementation.ts(18,9): error TS2304: Cannot find name 'specification'.
@@ -210,19 +209,19 @@ src/lib/pmProxy.test/implementation.ts(21,5): error TS2322: Type '(method: IProx
210
209
  Types of parameters 'store' and 'ssel' are incompatible.
211
210
  Property 'butThenProxy' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ butThenProxy: IProxy; }'.
212
211
  src/lib/pmProxy.test/implementation.ts(44,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
213
- Property 'getLastCall' does not exist on type 'PM_Node'.
212
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
214
213
  src/lib/pmProxy.test/implementation.ts(45,38): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
215
- Property 'getLastCall' does not exist on type 'PM_Node'.
214
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
216
215
  src/lib/pmProxy.test/implementation.ts(52,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
217
- Property 'getLastCall' does not exist on type 'PM_Node'.
216
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
218
217
  src/lib/pmProxy.test/implementation.ts(58,19): error TS2322: Type '"screen.png"' is not assignable to type '`${string}.webm`'.
219
218
  src/lib/pmProxy.test/implementation.ts(64,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
220
- Property 'getLastCall' does not exist on type 'PM_Node'.
219
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
221
220
  src/lib/pmProxy.test/implementation.ts(65,38): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
222
- Property 'getLastCall' does not exist on type 'PM_Node'.
221
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
223
222
  src/lib/pmProxy.test/implementation.ts(70,19): error TS2322: Type '"shot.png"' is not assignable to type '`${string}.webm`'.
224
223
  src/lib/pmProxy.test/implementation.ts(73,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
225
- Property 'getLastCall' does not exist on type 'PM_Node'.
224
+ Property 'getLastCall' does not exist on type 'PM_Pure'.
226
225
  src/lib/pmProxy.test/implementation.ts(102,5): error TS2322: Type '(s: string) => string' is not assignable to type '() => [string, string]'.
227
226
  Target signature provides too few arguments. Expected 1 or more, but got 0.
228
227
  src/lib/pmProxy.test/index.ts(17,3): 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<...>; }, never>'.
@@ -300,11 +299,10 @@ src/Project.tsx(144,30): error TS2551: Property 'runTimeError' does not exist on
300
299
  src/Project.tsx(328,40): error TS2551: Property 'runTimeError' does not exist on type '{ runTimeErrors: number | "?" | undefined; typeErrors: number | "?" | undefined; staticErrors: number | "?" | undefined; prompt: string | undefined; failingFeatures: object | undefined; }'. Did you mean 'runTimeErrors'?
301
300
  src/Project.tsx(398,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
302
301
  Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
303
- src/Pure.test.ts(297,3): error TS2345: Argument of type '{ suites: { Default: string; }; givens: { Default: () => { pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; testResourceConfiguration: ITTestResourceConfiguration; client: Socket; server: any; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, pat...' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<PureO>; givens: TestGivenImplementation<PureI, PureO>; whens: TestWhenImplementation<PureI, PureO>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, never>'.
304
- The types returned by 'checks.Default(...)' are incompatible between these types.
305
- Type 'IPM' is not assignable to type '() => IPM'.
306
- Type 'PM_Node' is not assignable to type '() => IPM'.
307
- Type 'PM_Node' provides no match for the signature '(): IPM'.
302
+ src/Pure.test.ts(297,3): error TS2345: Argument of type '{ suites: { Default: string; }; givens: { Default: () => { pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path...' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<PureO>; givens: TestGivenImplementation<PureI, PureO>; whens: TestWhenImplementation<PureI, PureO>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, never>'.
303
+ The types returned by 'givens.Default(...)' are incompatible between these types.
304
+ 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'.
305
+ 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'.
308
306
  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<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
309
307
  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
310
308
  src/Pure.ts(41,9): error TS2416: Property 'receiveTestResourceConfig' in type 'PureTesteranto<I, O, M>' is not assignable to the same property in base type 'TesterantoCore<I, O, M>'.