testeranto 0.140.2 → 0.146.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 (204) hide show
  1. package/.aider.chat.history.md +11006 -0
  2. package/.aider.input.history +441 -0
  3. package/.aider.tags.cache.v3/06/1a/1ec9fd1f595d4b36094caef45894.val +0 -0
  4. package/.aider.tags.cache.v3/0f/f6/f42b5108253d75de3cb6286df7f6.val +0 -0
  5. package/.aider.tags.cache.v3/{ad/3c/10f2ab1397f6d544e613d2a6acaf.val → 3d/81/8b6f0e9b98ec2952cdb8968ac386.val} +0 -0
  6. package/.aider.tags.cache.v3/cache.db +0 -0
  7. package/.aider.tags.cache.v3/{a7/97/6d37fce350ad2d588f36729db0cd.val → d6/7d/1820c2d4b9330eab7017da4515e7.val} +0 -0
  8. package/README.md +15 -16
  9. package/dist/tsconfig.tsbuildinfo +1 -1
  10. package/docs/aiderTest.sh +1 -0
  11. package/docs/index.md +45 -33
  12. package/docs/testing.ai.txt +98 -0
  13. package/docs/testing.prompt.txt +8 -0
  14. package/package.json +3 -3
  15. package/src/Node.ts +17 -13
  16. package/src/PM/PM_WithEslintAndTsc.ts +83 -67
  17. package/src/PM/main.ts +182 -92
  18. package/src/PM/node.ts +1 -15
  19. package/src/PM/nodeSidecar.ts +0 -1
  20. package/src/Pure.test.ts +299 -0
  21. package/src/Pure.ts +20 -2
  22. package/src/Types.ts +5 -5
  23. package/src/Web.ts +1 -1
  24. package/src/build.ts +0 -1
  25. package/src/esbuildConfigs/consoleDetectorPlugin.ts +28 -14
  26. package/src/esbuildConfigs/nativeImportDetectorPlugin.ts +26 -0
  27. package/src/esbuildConfigs/pure.ts +3 -1
  28. package/src/esbuildConfigs/rebuildPlugin.ts +1 -4
  29. package/src/lib/BaseSuite.test/node.test.ts +12 -0
  30. package/src/lib/BaseSuite.test/pure.test.ts +12 -0
  31. package/src/lib/{BaseSuite.test.ts → BaseSuite.test/test.ts} +36 -27
  32. package/src/lib/BaseSuite.test/web.test.ts +12 -0
  33. package/src/lib/BaseSuite.ts +17 -15
  34. package/src/lib/abstractBase.test/MockGiven.ts +31 -0
  35. package/src/lib/abstractBase.test/MockThen.ts +20 -0
  36. package/src/lib/abstractBase.test/MockWhen.ts +17 -0
  37. package/src/lib/abstractBase.test/implementation.ts +51 -0
  38. package/src/lib/abstractBase.test/index.ts +19 -0
  39. package/src/lib/abstractBase.test/interface.ts +12 -0
  40. package/src/lib/abstractBase.test/specification.ts +49 -0
  41. package/src/lib/abstractBase.test/types.ts +19 -0
  42. package/src/lib/abstractBase.ts +0 -2
  43. package/src/lib/baseBuilder.test/TestBaseBuilder.ts +83 -0
  44. package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +134 -0
  45. package/src/lib/baseBuilder.test/baseBuilder.test.interface.ts +18 -0
  46. package/src/lib/baseBuilder.test/baseBuilder.test.node.ts +14 -0
  47. package/src/lib/baseBuilder.test/baseBuilder.test.pure.ts +14 -0
  48. package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +35 -0
  49. package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +36 -0
  50. package/src/lib/baseBuilder.test/baseBuilder.test.web.ts +14 -0
  51. package/src/lib/basebuilder.ts +2 -1
  52. package/src/lib/classBuilder.test/TestClassBuilder.ts +88 -0
  53. package/src/lib/classBuilder.test/classBuilder.test.implementation.ts +204 -0
  54. package/src/lib/classBuilder.test/classBuilder.test.interface.ts +18 -0
  55. package/src/lib/classBuilder.test/classBuilder.test.specification.ts +113 -0
  56. package/src/lib/classBuilder.test/classBuilder.test.ts +14 -0
  57. package/src/lib/classBuilder.test/classBuilder.test.types.ts +84 -0
  58. package/src/lib/core.test/MockCore.ts +49 -0
  59. package/src/lib/core.test/core.test.implementation.ts +129 -0
  60. package/src/lib/core.test/core.test.interface.ts +18 -0
  61. package/src/lib/core.test/core.test.specification.ts +99 -0
  62. package/src/lib/core.test/core.test.ts +15 -0
  63. package/src/lib/core.test/core.test.types.ts +68 -0
  64. package/src/lib/core.ts +1 -11
  65. package/src/lib/pmProxy.test/implementation.ts +104 -0
  66. package/src/lib/pmProxy.test/index.ts +19 -0
  67. package/src/lib/pmProxy.test/interface.ts +46 -0
  68. package/src/lib/pmProxy.test/mockPM.ts +38 -0
  69. package/src/lib/pmProxy.test/mockPMBase.ts +136 -0
  70. package/src/lib/pmProxy.test/specification.ts +123 -0
  71. package/src/lib/pmProxy.test/types.ts +45 -0
  72. package/src/lib/pmProxy.ts +40 -193
  73. package/src/run.ts +7 -7
  74. package/testeranto/bundles/node/allTests/chunk-NQBTLMSG.mjs +254 -0
  75. package/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs +765 -0
  76. package/testeranto/bundles/node/allTests/chunk-YZWFKYY3.mjs +171 -0
  77. package/testeranto/bundles/node/allTests/metafile.json +628 -3567
  78. package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +325 -0
  79. package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +226 -0
  80. package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +408 -0
  81. package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +279 -0
  82. package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +4587 -0
  83. package/testeranto/bundles/{node/allTests/chunk-4PJCC2XT.mjs → pure/allTests/chunk-W22WOQNK.mjs} +208 -326
  84. package/testeranto/bundles/pure/allTests/metafile.json +732 -3
  85. package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +369 -0
  86. package/testeranto/bundles/{node/allTests/src/lib/BaseSuite.test.mjs → pure/allTests/src/lib/BaseSuite.test/pure.test.mjs} +26 -8
  87. package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +224 -0
  88. package/testeranto/bundles/web/allTests/chunk-FIZ3WLUB.mjs +943 -0
  89. package/testeranto/bundles/web/allTests/metafile.json +1133 -2
  90. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.html +19 -0
  91. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +322 -0
  92. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.html +19 -0
  93. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +10964 -0
  94. package/testeranto/index.html +1 -1
  95. package/testeranto/reports/allTests/config.json +50 -11
  96. package/testeranto/reports/allTests/index.html +1 -1
  97. package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.json +1539 -0
  98. package/testeranto/reports/allTests/src/Pure.test/pure/logs.txt +11 -0
  99. package/testeranto/reports/allTests/src/Pure.test/pure/message +1 -0
  100. package/testeranto/reports/allTests/src/Pure.test/pure/prompt.txt +8 -0
  101. package/testeranto/reports/allTests/src/{PM/__tests__/pureSidecar.testeranto/node → Pure.test/pure}/type_errors.txt +18 -14
  102. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.json +620 -0
  103. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +12 -0
  104. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/message +1 -0
  105. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/prompt.txt +8 -0
  106. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +94 -0
  107. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/index.html +21 -0
  108. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.json +620 -0
  109. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt +11 -0
  110. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/message +1 -0
  111. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +8 -0
  112. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +104 -0
  113. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/dev.html +21 -0
  114. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/index.html +21 -0
  115. package/testeranto/reports/allTests/src/lib/BaseSuite.test/{node → web.test/web}/lint_errors.json +69 -57
  116. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +10 -0
  117. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/message +1 -0
  118. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +8 -0
  119. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +95 -0
  120. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/dev.html +21 -0
  121. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html +21 -0
  122. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.json +966 -0
  123. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/message +1 -0
  124. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +11 -0
  125. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +57 -0
  126. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/bdd_errors.txt +1 -0
  127. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/dev.html +21 -0
  128. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html +21 -0
  129. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.json +966 -0
  130. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/log.txt +0 -0
  131. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message +1 -0
  132. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +11 -0
  133. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/tests.json +57 -0
  134. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +57 -0
  135. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/bdd_errors.txt +1 -0
  136. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/dev.html +21 -0
  137. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html +21 -0
  138. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.json +966 -0
  139. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/log.txt +0 -0
  140. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +0 -0
  141. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/message +1 -0
  142. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +11 -0
  143. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +57 -0
  144. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +48 -0
  145. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/dev.html +21 -0
  146. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html +21 -0
  147. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.json +791 -0
  148. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +12 -0
  149. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/message +1 -0
  150. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +11 -0
  151. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +55 -0
  152. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/dev.html +21 -0
  153. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/index.html +21 -0
  154. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.json +416 -0
  155. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +17 -0
  156. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/message +1 -0
  157. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/prompt.txt +11 -0
  158. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/type_errors.txt +65 -0
  159. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/dev.html +21 -0
  160. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/index.html +21 -0
  161. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.json +1724 -0
  162. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/log.txt +0 -0
  163. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +30 -0
  164. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/message +1 -0
  165. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/prompt.txt +11 -0
  166. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +64 -0
  167. package/testeranto/reports/allTests/summary.json +59 -24
  168. package/testeranto.config.ts +37 -12
  169. package/tsc.log +273 -27
  170. package/testeranto/bundles/node/allTests/chunk-PG6KUKNP.mjs +0 -44
  171. package/testeranto/bundles/node/allTests/src/PM/__tests__/nodeSidecar.testeranto.mjs +0 -187
  172. package/testeranto/bundles/node/allTests/src/PM/__tests__/pureSidecar.testeranto.mjs +0 -156
  173. package/testeranto/bundles/node/allTests/src/PM/__tests__/webSidecar.testeranto.mjs +0 -156
  174. package/testeranto/bundles/node/allTests/src/mothership/test.mjs +0 -24411
  175. package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/index.html +0 -21
  176. package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +0 -80
  177. package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/message +0 -1
  178. package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +0 -8
  179. package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +0 -28
  180. package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/index.html +0 -21
  181. package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +0 -80
  182. package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/message +0 -1
  183. package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +0 -8
  184. package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/index.html +0 -21
  185. package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +0 -80
  186. package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/message +0 -1
  187. package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +0 -8
  188. package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +0 -32
  189. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/console_log.txt +0 -35
  190. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/index.html +0 -21
  191. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/message +0 -1
  192. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/prompt.txt +0 -7
  193. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/type_errors.txt +0 -68
  194. package/testeranto/reports/allTests/src/mothership/test/node/index.html +0 -21
  195. package/testeranto/reports/allTests/src/mothership/test/node/lint_errors.json +0 -1
  196. package/testeranto/reports/allTests/src/mothership/test/node/message +0 -1
  197. package/testeranto/reports/allTests/src/mothership/test/node/prompt.txt +0 -8
  198. package/testeranto/reports/allTests/src/mothership/test/node/type_errors.txt +0 -24
  199. /package/testeranto/reports/allTests/src/{PM/__tests__/nodeSidecar.testeranto/node → Pure.test/pure}/dev.html +0 -0
  200. /package/testeranto/reports/allTests/src/{PM/__tests__/pureSidecar.testeranto/node/dev.html → Pure.test/pure/index.html} +0 -0
  201. /package/testeranto/reports/allTests/src/{PM/__tests__/webSidecar.testeranto → lib/BaseSuite.test/node.test}/node/dev.html +0 -0
  202. /package/testeranto/reports/allTests/src/lib/BaseSuite.test/{node/dev.html → node.test/node/index.html} +0 -0
  203. /package/testeranto/reports/allTests/src/{mothership/test/node → lib/BaseSuite.test/pure.test/pure}/dev.html +0 -0
  204. /package/testeranto/reports/allTests/src/lib/{BaseSuite.test/node/log.txt → baseBuilder.test/baseBuilder.test.node/node/logs.txt} +0 -0
package/tsc.log CHANGED
@@ -1,25 +1,261 @@
1
1
  $ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
2
- src/lib/basebuilder.ts(90,15): error TS2349: This expression is not callable.
2
+ src/lib/abstractBase.test/implementation.ts(13,20): error TS2322: Type '{ testStore: { value: string; }; testSelection: { selected: boolean; }; }' is not assignable to type '() => { testStore: { value: string; }; }'.
3
+ Type '{ testStore: { value: string; }; testSelection: { selected: boolean; }; }' provides no match for the signature '(): { testStore: { value: string; }; }'.
4
+ src/lib/abstractBase.test/implementation.ts(17,22): error TS2322: Type '{ testStore: { value: string; }; testSelection: { selected: boolean; }; }' is not assignable to type '() => { testStore: { value: string; }; }'.
5
+ Type '{ testStore: { value: string; }; testSelection: { selected: boolean; }; }' provides no match for the signature '(): { testStore: { value: string; }; }'.
6
+ src/lib/abstractBase.test/implementation.ts(24,5): error TS2322: Type '(newValue: string) => (store: { testSelection: { selected: boolean; }; }) => { testStore: { value: string; }; testSelection: { selected: boolean; }; }' is not assignable to type '(Iw_0: string) => (zel: { testSelection: { selected: boolean; }; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>'.
7
+ Call signature return types '(store: { testSelection: { selected: boolean; }; }) => { testStore: { value: string; }; testSelection: { selected: boolean; }; }' and '(zel: { testSelection: { selected: boolean; }; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: any) => any>' are incompatible.
8
+ Type '{ testStore: { value: string; }; testSelection: { selected: boolean; }; }' is missing the following properties from type 'Promise<(store: any) => any>': then, catch, finally, [Symbol.toStringTag]
9
+ src/lib/abstractBase.test/implementation.ts(34,5): error TS2322: Type '(expected: string) => (store: { testSelection: { selected: boolean; }; }) => { testSelection: { selected: boolean; }; }' is not assignable to type '(It_0: string) => (ssel: { testSelection: { selected: boolean; }; }, utils: PM) => (store: any) => any'.
10
+ Call signature return types '(store: { testSelection: { selected: boolean; }; }) => { testSelection: { selected: boolean; }; }' and '(ssel: { testSelection: { selected: boolean; }; }, utils: PM) => (store: any) => any' are incompatible.
11
+ Type '{ testSelection: { selected: boolean; }; }' is not assignable to type '(store: any) => any'.
12
+ Type '{ testSelection: { selected: boolean; }; }' provides no match for the signature '(store: any): any'.
13
+ src/lib/abstractBase.test/implementation.ts(35,17): error TS2339: Property 'testStore' does not exist on type '{ testSelection: { selected: boolean; }; }'.
14
+ src/lib/abstractBase.test/implementation.ts(36,60): error TS2339: Property 'testStore' does not exist on type '{ testSelection: { selected: boolean; }; }'.
15
+ src/lib/abstractBase.test/implementation.ts(40,5): error TS2322: Type '(expected: string) => (store: { testSelection: { selected: boolean; }; }) => { testSelection: { selected: boolean; }; }' is not assignable to type '(It_0: string) => (ssel: { testSelection: { selected: boolean; }; }, utils: PM) => (store: any) => any'.
16
+ Call signature return types '(store: { testSelection: { selected: boolean; }; }) => { testSelection: { selected: boolean; }; }' and '(ssel: { testSelection: { selected: boolean; }; }, utils: PM) => (store: any) => any' are incompatible.
17
+ Type '{ testSelection: { selected: boolean; }; }' is not assignable to type '(store: any) => any'.
18
+ Type '{ testSelection: { selected: boolean; }; }' provides no match for the signature '(store: any): any'.
19
+ src/lib/abstractBase.test/implementation.ts(41,18): error TS2339: Property 'error' does not exist on type '{ testSelection: { selected: boolean; }; }'.
20
+ src/lib/abstractBase.test/implementation.ts(41,34): error TS2339: Property 'error' does not exist on type '{ testSelection: { selected: boolean; }; }'.
21
+ src/lib/abstractBase.test/implementation.ts(49,20): error TS2322: Type 'PassThrough' is not assignable to type '() => { testStore: { value: string; }; }'.
22
+ Type 'Transform' provides no match for the signature '(): { testStore: { value: string; }; }'.
23
+ src/lib/abstractBase.test/interface.ts(5,47): error TS2322: Type 'Promise<() => { testStore: { value: string; }; }>' is not assignable to type 'Promise<{ testStore: { value: string; }; error?: Error | undefined; }>'.
24
+ Type '() => { testStore: { value: string; }; }' is not assignable to type '{ testStore: { value: string; }; error?: Error | undefined; }'.
25
+ src/lib/abstractBase.test/interface.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]
26
+ src/lib/abstractBase.test/MockGiven.ts(8,12): error TS2304: Cannot find name 'BaseWhen'.
27
+ src/lib/abstractBase.test/MockGiven.ts(9,12): error TS2304: Cannot find name 'BaseThen'.
28
+ src/lib/abstractBase.test/MockGiven.ts(24,12): error TS2349: This expression is not callable.
29
+ Type 'unknown' has no call signatures.
30
+ src/lib/abstractBase.test/specification.ts(11,9): error TS2554: Expected 3 arguments, but got 2.
31
+ src/lib/abstractBase.test/specification.ts(24,9): error TS2554: Expected 3 arguments, but got 2.
32
+ src/lib/abstractBase.test/specification.ts(37,9): error TS2554: Expected 3 arguments, but got 2.
33
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(19,5): error TS2322: Type '() => TestBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
34
+ Type 'TestBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
35
+ Type 'TestBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
36
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(27,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
37
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(39,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
38
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(62,25): error TS2304: Cannot find name 'ITestJob'.
39
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(69,32): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
40
+ Type 'TestSubject' is not assignable to type '(store: any) => any'.
41
+ Type 'TestBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
42
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(75,27): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
43
+ Type 'TestSubject' is not assignable to type '(store: any) => any'.
44
+ Type 'TestBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
45
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(81,24): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
46
+ Type 'TestSubject' is not assignable to type '(store: any) => any'.
47
+ Type 'TestBaseBuilder<any, any, any, any, any, any, {}>' provides no match for the signature '(store: any): any'.
48
+ src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(132,20): error TS2322: Type 'PassThrough' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
49
+ Type 'Transform' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
50
+ src/lib/baseBuilder.test/baseBuilder.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>'.
51
+ src/lib/baseBuilder.test/baseBuilder.test.interface.ts(10,26): error TS2554: Expected 1 arguments, but got 2.
52
+ src/lib/baseBuilder.test/baseBuilder.test.interface.ts(13,26): error TS2554: Expected 1 arguments, but got 2.
53
+ src/lib/baseBuilder.test/baseBuilder.test.types.ts(7,3): error TS2304: Cannot find name 'BaseBuilder'.
54
+ src/lib/baseBuilder.test/baseBuilder.test.types.ts(8,3): error TS2304: Cannot find name 'BaseBuilder'.
55
+ src/lib/baseBuilder.test/baseBuilder.test.types.ts(9,3): error TS2304: Cannot find name 'BaseBuilder'.
56
+ src/lib/baseBuilder.test/baseBuilder.test.types.ts(10,9): error TS2304: Cannot find name 'BaseBuilder'.
57
+ src/lib/baseBuilder.test/TestBaseBuilder.ts(44,56): error TS2322: Type 'never[]' is not assignable to type 'number'.
58
+ src/lib/basebuilder.ts(85,15): error TS2349: This expression is not callable.
3
59
  Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
4
60
  Type 'void' has no call signatures.
61
+ src/lib/BaseSuite.test/test.ts(92,9): error TS2416: Property 'andWhen' in type 'MockWhen' is not assignable to the same property in base type 'BaseWhen<I>'.
62
+ Types of parameters 'whenCB' and 'whenCB' are incompatible.
63
+ Type '(store: TestStore) => Promise<TestSelection>' is not assignable to type 'Promise<TestStore>'.
64
+ src/lib/BaseSuite.test/test.ts(103,9): error TS2416: Property 'butThen' in type 'MockThen' is not assignable to the same property in base type 'BaseThen<I>'.
65
+ Types of parameters 'thenCB' and 'thenCB' are incompatible.
66
+ Type 'Promise<BaseSuite<any, any>>' is not assignable to type 'Promise<TestSelection>'.
67
+ Property 'testSelection' is missing in type 'BaseSuite<any, any>' but required in type 'TestSelection'.
68
+ src/lib/BaseSuite.test/test.ts(136,13): error TS2322: Type 'MockWhen' is not assignable to type 'BaseWhen<I>'.
69
+ Types of property 'andWhen' are incompatible.
70
+ Types of parameters 'whenCB' and 'whenCB' are incompatible.
71
+ Type '(store: TestStore) => Promise<TestSelection>' is not assignable to type 'Promise<TestStore>'.
72
+ src/lib/BaseSuite.test/test.ts(137,15): error TS2322: Type 'Promise<{ testStore: boolean; }>' is not assignable to type '(store: TestStore) => Promise<TestSelection>'.
73
+ Type 'Promise<{ testStore: boolean; }>' provides no match for the signature '(store: TestStore): Promise<TestSelection>'.
74
+ src/lib/BaseSuite.test/test.ts(142,15): error TS2322: Type 'Promise<{ testSelection: boolean; }>' is not assignable to type 'Promise<(store: TestStore) => Promise<TestSelection>>'.
75
+ Type '{ testSelection: boolean; }' is not assignable to type '(store: TestStore) => Promise<TestSelection>'.
76
+ Type '{ testSelection: boolean; }' provides no match for the signature '(store: TestStore): Promise<TestSelection>'.
77
+ src/lib/BaseSuite.test/test.ts(161,14): error TS2322: Type '(Suite: ITestSpecification<I, O>, Given: WhenSpecification<I, O>, When: WhenSpecification<I, O>, Then: WhenSpecification<I, O>, Check: ITestCheckCallback<I, O>) => any[]' is not assignable to type 'ITestSpecification<I, O>'.
78
+ Types of parameters 'Suite' and 'Suite' are incompatible.
79
+ Type 'SuiteSpecification<I, O>' is not assignable to type 'ITestSpecification<I, O>'.
80
+ Type 'SuiteSpecification<I, O>' provides no match for the signature '(Suite: SuiteSpecification<I, O>, Given: GivenSpecification<I, O>, When: WhenSpecification<I, O>, Then: ThenSpecification<...>, Check: ITestCheckCallback<...>): any[]'.
81
+ src/lib/BaseSuite.test/test.ts(168,9): error TS2339: Property 'Default' does not exist on type 'ITestSpecification<I, O>'.
82
+ src/lib/BaseSuite.test/test.ts(172,29): error TS2339: Property 'Default' does not exist on type 'WhenSpecification<I, O>'.
83
+ src/lib/BaseSuite.test/test.ts(176,16): error TS2339: Property 'SuiteNameMatches' does not exist on type 'WhenSpecification<I, O>'.
84
+ src/lib/BaseSuite.test/test.ts(177,16): error TS2339: Property 'SuiteIndexMatches' does not exist on type 'WhenSpecification<I, O>'.
85
+ src/lib/BaseSuite.test/test.ts(178,16): error TS2339: Property 'FeaturesIncludes' does not exist on type 'WhenSpecification<I, O>'.
86
+ src/lib/BaseSuite.test/test.ts(183,24): error TS2339: Property 'Default' does not exist on type 'WhenSpecification<I, O>'.
87
+ src/lib/BaseSuite.test/test.ts(186,15): error TS2339: Property 'StoreValid' does not exist on type 'WhenSpecification<I, O>'.
88
+ src/lib/BaseSuite.test/test.ts(186,34): error TS2339: Property 'NoErrorsOccurred' does not exist on type 'WhenSpecification<I, O>'.
89
+ src/lib/BaseSuite.test/test.ts(186,59): error TS2339: Property 'AllChecksCompleted' does not exist on type 'WhenSpecification<I, O>'.
90
+ src/lib/BaseSuite.test/test.ts(190,31): error TS2339: Property 'Default' does not exist on type 'WhenSpecification<I, O>'.
91
+ src/lib/BaseSuite.test/test.ts(192,15): error TS2339: Property 'AddFeature' does not exist on type 'WhenSpecification<I, O>'.
92
+ src/lib/BaseSuite.test/test.ts(194,16): error TS2339: Property 'FeaturesIncludes' does not exist on type 'WhenSpecification<I, O>'.
93
+ src/lib/BaseSuite.test/test.ts(195,16): error TS2339: Property 'FeaturesIncludes' does not exist on type 'WhenSpecification<I, O>'.
94
+ src/lib/BaseSuite.test/test.ts(196,16): error TS2339: Property 'FeatureCountMatches' does not exist on type 'WhenSpecification<I, O>'.
95
+ src/lib/BaseSuite.test/test.ts(201,28): error TS2339: Property 'Default' does not exist on type 'WhenSpecification<I, O>'.
96
+ src/lib/BaseSuite.test/test.ts(203,15): error TS2339: Property 'RunSuiteWithError' does not exist on type 'WhenSpecification<I, O>'.
97
+ src/lib/BaseSuite.test/test.ts(205,16): error TS2339: Property 'ErrorCountMatches' does not exist on type 'WhenSpecification<I, O>'.
98
+ src/lib/BaseSuite.test/test.ts(223,9): error TS2339: Property 'Default' does not exist on type 'ITestSpecification<I, O>'.
99
+ src/lib/BaseSuite.test/test.ts(224,26): error TS2339: Property 'Default' does not exist on type 'WhenSpecification<I, O>'.
100
+ src/lib/BaseSuite.test/test.ts(227,14): error TS2339: Property 'addArtifact' does not exist on type 'WhenSpecification<I, O>'.
101
+ src/lib/BaseSuite.test/test.ts(228,14): error TS2339: Property 'modifySpecs' does not exist on type 'WhenSpecification<I, O>'.
102
+ src/lib/BaseSuite.test/test.ts(229,14): error TS2339: Property 'modifyJobs' does not exist on type 'WhenSpecification<I, O>'.
103
+ src/lib/BaseSuite.test/test.ts(232,14): error TS2339: Property 'specsModified' does not exist on type 'WhenSpecification<I, O>'.
104
+ src/lib/BaseSuite.test/test.ts(233,14): error TS2339: Property 'jobsModified' does not exist on type 'WhenSpecification<I, O>'.
105
+ src/lib/BaseSuite.test/test.ts(234,14): error TS2339: Property 'artifactsTracked' does not exist on type 'WhenSpecification<I, O>'.
106
+ src/lib/BaseSuite.test/test.ts(235,14): error TS2339: Property 'testRunSuccessful' does not exist on type 'WhenSpecification<I, O>'.
107
+ src/lib/BaseSuite.test/test.ts(248,35): error TS2322: Type 'TestableSuite' is not assignable to type '() => Promise<TestStore>'.
108
+ Type 'TestableSuite' provides no match for the signature '(): Promise<TestStore>'.
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
+ Types of parameters 'suite' and 'zel' are incompatible.
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>'.
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
+ src/lib/BaseSuite.test/test.ts(295,13): error TS2345: Argument of type 'null' is not assignable to parameter of type 'typeof BaseSuite'.
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>'.
121
+ Type '(suite: TestableSuite) => TestableSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
122
+ Types of parameters 'suite' and 'ssel' are incompatible.
123
+ Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
124
+ src/lib/BaseSuite.test/test.ts(365,7): error TS2322: Type '(suite: TestableSuite) => TestableSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
125
+ Types of parameters 'suite' and 'ssel' are incompatible.
126
+ Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
127
+ src/lib/BaseSuite.test/test.ts(430,5): error TS2353: Object literal may only specify known properties, and 'Default' does not exist in type 'TestCheckImplementation<I, O>'.
128
+ src/lib/BaseSuite.test/test.ts(439,30): error TS2322: Type '() => Promise<TestStore>' is not assignable to type 'TestStore'.
129
+ src/lib/BaseSuite.test/test.ts(446,44): error TS2554: Expected 1 arguments, but got 2.
130
+ src/lib/BaseSuite.test/test.ts(453,48): error TS2554: Expected 1 arguments, but got 2.
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
+ 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>'.
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>'.
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>'.
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>'.
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>'.
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>'.
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>'.
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.
161
+ src/lib/classBuilder.test/classBuilder.test.specification.ts(108,15): error TS2554: Expected 4 arguments, but got 1.
5
162
  src/lib/classBuilder.ts(90,18): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
6
163
  src/lib/classBuilder.ts(105,28): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
7
- src/lib/index.ts(21,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<...>'.
164
+ src/lib/core.test/core.test.implementation.ts(18,9): error TS2304: Cannot find name 'specification'.
165
+ src/lib/core.test/core.test.implementation.ts(20,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
166
+ src/lib/core.test/core.test.implementation.ts(21,9): error TS2304: Cannot find name 'testInterface'.
167
+ src/lib/core.test/core.test.implementation.ts(28,9): error TS2304: Cannot find name 'specification'.
168
+ src/lib/core.test/core.test.implementation.ts(30,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
169
+ src/lib/core.test/core.test.implementation.ts(31,9): error TS2304: Cannot find name 'testInterface'.
170
+ src/lib/core.test/core.test.implementation.ts(38,9): error TS2304: Cannot find name 'specification'.
171
+ src/lib/core.test/core.test.implementation.ts(41,9): error TS2304: Cannot find name 'testInterface'.
172
+ src/lib/core.test/core.test.implementation.ts(48,9): error TS2304: Cannot find name 'specification'.
173
+ src/lib/core.test/core.test.implementation.ts(50,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
174
+ src/lib/core.test/core.test.implementation.ts(51,13): error TS2304: Cannot find name 'testInterface'.
175
+ src/lib/core.test/core.test.implementation.ts(107,20): error TS2339: Property 'testInterface' does not exist on type 'MockCore<any, any, any>'.
176
+ src/lib/core.test/core.test.implementation.ts(116,30): error TS2322: Type '(builder: MockCore<any, any, any>) => Promise<MockCore<any, any, any>>' is not assignable to type '(builder: MockCore<any, any, any>) => MockCore<any, any, any>'.
177
+ Type 'Promise<MockCore<any, any, any>>' is missing the following properties from type 'MockCore<any, any, any>': receiveTestResourceConfig, specs, assertThis, testResourceRequirement, and 15 more.
178
+ src/lib/core.test/core.test.implementation.ts(127,20): error TS2322: Type 'PassThrough' is not assignable to type '() => MockCore<any, any, any>'.
179
+ Type 'Transform' provides no match for the signature '(): MockCore<any, any, any>'.
180
+ src/lib/core.test/core.test.interface.ts(5,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ...'. Two different types with this name exist, but they are unrelated.
181
+ Type 'Promise<() => MockCore<any, any, any>>' is not assignable to type 'Promise<MockCore<any, any, any>>'.
182
+ Type '() => MockCore<any, any, any>' is not assignable to type 'MockCore<any, any, any>'.
183
+ src/lib/core.test/core.test.interface.ts(9,26): error TS2554: Expected 1 arguments, but got 2.
184
+ src/lib/core.test/core.test.interface.ts(12,26): error TS2554: Expected 1 arguments, but got 2.
185
+ src/lib/core.test/core.test.interface.ts(14,25): error TS2739: Type 'MockCore<any, any, any>' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
186
+ src/lib/core.test/core.test.specification.ts(21,42): error TS2554: Expected 4 arguments, but got 3.
187
+ src/lib/core.test/core.test.specification.ts(28,31): error TS2554: Expected 4 arguments, but got 3.
188
+ src/lib/core.test/core.test.specification.ts(33,32): error TS2554: Expected 4 arguments, but got 3.
189
+ src/lib/core.test/core.test.specification.ts(76,17): error TS2339: Property 'specsModified' does not exist on type 'ThenSpecification<I, O>'.
190
+ src/lib/core.test/core.test.specification.ts(87,27): error TS2339: Property 'WithCustomImplementation' does not exist on type 'GivenSpecification<I, O>'.
191
+ src/lib/core.test/core.test.specification.ts(89,16): error TS2304: Cannot find name 'implementation'.
192
+ src/lib/core.test/core.test.ts(14,3): error TS2554: Expected 4-5 arguments, but got 6.
193
+ src/lib/core.test/core.test.types.ts(26,27): error TS1214: Identifier expected. 'interface' is a reserved word in strict mode. Modules are automatically in strict mode.
194
+ src/lib/core.test/MockCore.ts(24,56): error TS2322: Type 'never[]' is not assignable to type 'number'.
195
+ src/lib/core.test/MockCore.ts(31,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 & { ...; }'.
196
+ 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
197
+ 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<...>'.
8
198
  Types of parameters 'initialValues' and 'initializer' are incompatible.
9
199
  Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
10
200
  'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
11
- src/lib/index.ts(23,20): error TS2536: Type '"iinitialValues"' cannot be used to index type 'T'.
12
- src/lib/index.ts(45,13): error TS2349: This expression is not callable.
201
+ src/lib/index.ts(24,20): error TS2536: Type '"iinitialValues"' cannot be used to index type 'T'.
202
+ src/lib/index.ts(46,13): error TS2349: This expression is not callable.
13
203
  Type 'unknown' has no call signatures.
14
- src/lib/index.ts(57,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>'.
204
+ 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>'.
15
205
  Types of property 'assertThis' are incompatible.
16
206
  Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
17
207
  Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
208
+ src/lib/pmProxy.test/implementation.ts(21,5): error TS2322: Type '(method: IProxiedFunctions, expectedPath: string) => (store: { butThenProxy: IProxy; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(It_0: IProxiedFunctions, It_1: string) => (ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
209
+ Type '(store: { butThenProxy: IProxy; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
210
+ Types of parameters 'store' and 'ssel' are incompatible.
211
+ Property 'butThenProxy' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ butThenProxy: IProxy; }'.
212
+ 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'.
214
+ 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'.
216
+ 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'.
218
+ src/lib/pmProxy.test/implementation.ts(58,19): error TS2322: Type '"screen.png"' is not assignable to type '`${string}.webm`'.
219
+ 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'.
221
+ 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'.
223
+ src/lib/pmProxy.test/implementation.ts(70,19): error TS2322: Type '"shot.png"' is not assignable to type '`${string}.webm`'.
224
+ 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'.
226
+ src/lib/pmProxy.test/implementation.ts(102,5): error TS2322: Type '(s: string) => string' is not assignable to type '() => [string, string]'.
227
+ Target signature provides too few arguments. Expected 1 or more, but got 0.
228
+ 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>'.
229
+ The types returned by 'givens.SomeBaseString(...)' are incompatible between these types.
230
+ Type 'string' is not assignable to type '[string, string]'.
231
+ src/lib/pmProxy.test/interface.ts(11,3): error TS2719: Type '(subject: { proxies: import("/Users/adam/Code/testeranto/src/lib/pmProxy.test/index").ITestProxies; filepath: string; mockPm: import("/Users/adam/Code/testeranto/src/lib/types").IPM; }, initializer: (c?: any) => [...], testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ini...' is not assignable to type '(subject: { proxies: import("/Users/adam/Code/testeranto/src/lib/pmProxy.test/index").ITestProxies; filepath: string; mockPm: import("/Users/adam/Code/testeranto/src/lib/types").IPM; }, initializer: (c?: any) => [...], testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ini...'. Two different types with this name exist, but they are unrelated.
232
+ Type 'Promise<{ proxies: ITestProxies; filepath: string; mockPm: IPM; }>' is not assignable to type 'Promise<{ butThenProxy: IProxy; }>'.
233
+ Property 'butThenProxy' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ butThenProxy: IProxy; }'.
234
+ src/lib/pmProxy.test/interface.ts(22,3): error TS2719: Type '(store: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }, whenCB: (...args: any[]) => (proxies: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }) => { ...; }, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, p...' is not assignable to type '(store: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }, whenCB: (...args: any[]) => (proxies: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }) => { ...; }, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, p...'. Two different types with this name exist, but they are unrelated.
235
+ Type 'Promise<(proxies: { butThenProxy: IProxy; }) => { butThenProxy: IProxy; }>' is not assignable to type 'Promise<{ butThenProxy: IProxy; }>'.
236
+ Type '(proxies: { butThenProxy: IProxy; }) => { butThenProxy: IProxy; }' is not assignable to type '{ butThenProxy: IProxy; }'.
237
+ src/lib/pmProxy.test/interface.ts(29,12): error TS2349: This expression is not callable.
238
+ Type '[IPM, "string"]' has no call signatures.
239
+ src/lib/pmProxy.test/interface.ts(34,3): error TS2322: Type '(input: any, testResource: any, pm: any, theGivenString: any) => Promise<{ beforeEachProxy: any; }>' is not assignable to type '(input: { butThenProxy: IProxy; }, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<{ proxies: ITestProxies; filepath: string; mockPm: IPM; }>'.
240
+ Target signature provides too few arguments. Expected 4 or more, but got 3.
241
+ src/lib/pmProxy.test/interface.ts(43,3): error TS2322: Type '(returnedFilePath: any, expectation: any) => void' is not assignable to type '(x: [IPM, "string"]) => any'.
242
+ Target signature provides too few arguments. Expected 2 or more, but got 1.
243
+ src/lib/pmProxy.test/mockPM.ts(23,3): error TS2416: Property 'launchSideCar' in type 'MockPM' is not assignable to the same property in base type 'MockPMBase'.
244
+ Type '(n: number) => Promise<[number, any]>' is not assignable to type '(n: number, testName: string, projectName: string) => Promise<void>'.
245
+ Type 'Promise<[number, any]>' is not assignable to type 'Promise<void>'.
246
+ Type '[number, any]' is not assignable to type 'void'.
247
+ src/lib/pmProxy.test/specification.ts(11,9): error TS2554: Expected 3 arguments, but got 2.
248
+ src/lib/pmProxy.test/specification.ts(59,9): error TS2554: Expected 3 arguments, but got 2.
249
+ src/lib/pmProxy.test/specification.ts(87,9): error TS2554: Expected 3 arguments, but got 2.
250
+ src/lib/pmProxy.test/specification.ts(94,14): error TS2339: Property 'verifyContent' does not exist on type 'ThenSpecification<I, O>'.
251
+ src/lib/pmProxy.test/specification.ts(103,14): error TS2339: Property 'verifyContent' does not exist on type 'ThenSpecification<I, O>'.
252
+ src/lib/pmProxy.test/specification.ts(109,9): error TS2554: Expected 3 arguments, but got 2.
253
+ src/lib/pmProxy.test/specification.ts(119,52): error TS2345: Argument of type 'undefined' is not assignable to parameter of type 'string'.
18
254
  src/mothership/test.ts(75,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
19
255
  src/mothership/test.ts(105,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
20
- src/Node.ts(34,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 & { ...; }'.
256
+ src/Node.ts(36,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 & { ...; }'.
21
257
  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
22
- src/Node.ts(58,26): error TS2552: Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
258
+ src/Node.ts(61,26): error TS2552: Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
23
259
  src/PM/__tests__/nodeSidecar.testeranto.ts(58,43): error TS2304: Cannot find name 'I'.
24
260
  src/PM/__tests__/nodeSidecar.testeranto.ts(59,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
25
261
  src/PM/__tests__/nodeSidecar.testeranto.ts(100,29): error TS2454: Variable 'callbackFn' is used before being assigned.
@@ -46,36 +282,46 @@ src/PM/__tests__/webSidecar.testeranto.ts(100,38): error TS2322: Type 'boolean'
46
282
  src/PM/__tests__/webSidecar.testeranto.ts(115,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
47
283
  src/PM/__tests__/webSidecar.testeranto.ts(125,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
48
284
  src/PM/__tests__/webSidecar.testeranto.ts(125,44): error TS2304: Cannot find name 'I'.
49
- src/PM/main.ts(958,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
50
- src/PM/main.ts(996,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
51
- src/PM/main.ts(1120,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
52
- src/PM/main.ts(1159,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
53
- src/PM/main.ts(1174,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
54
- src/PM/main.ts(1306,9): error TS2322: Type 'string' is not assignable to type 'Page'.
55
- src/PM/PM_WithEslintAndTsc.ts(37,9): error TS2322: Type 'string' is not assignable to type 'number'.
56
- src/PM/PM_WithEslintAndTsc.ts(38,9): error TS2322: Type 'string' is not assignable to type 'number'.
57
- src/PM/PM_WithEslintAndTsc.ts(45,11): error TS2322: Type 'string' is not assignable to type 'number'.
58
- src/PM/PM_WithEslintAndTsc.ts(46,11): error TS2322: Type 'string' is not assignable to type 'number'.
59
- src/PM/PM_WithEslintAndTsc.ts(231,5): error TS2322: Type 'string' is not assignable to type 'number'.
60
- src/PM/PM_WithEslintAndTsc.ts(241,5): error TS2322: Type 'string' is not assignable to type 'number'.
61
- src/PM/PM_WithEslintAndTsc.ts(257,5): error TS2322: Type 'number' is not assignable to type 'string'.
62
- src/PM/PM_WithEslintAndTsc.ts(293,11): error TS2367: This comparison appears to be unintentional because the types 'number' and 'string' have no overlap.
63
- src/PM/PM_WithEslintAndTsc.ts(300,11): error TS2367: This comparison appears to be unintentional because the types 'number' and 'string' have no overlap.
285
+ src/PM/main.ts(798,38): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
286
+ Type 'null' is not assignable to type 'number'.
287
+ src/PM/main.ts(799,31): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
288
+ Type 'null' is not assignable to type 'number'.
289
+ src/PM/main.ts(964,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
290
+ src/PM/main.ts(1002,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
291
+ src/PM/main.ts(1130,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
292
+ src/PM/main.ts(1168,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
293
+ src/PM/main.ts(1183,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
294
+ src/PM/main.ts(1321,9): error TS2322: Type 'string' is not assignable to type 'Page'.
295
+ src/PM/main.ts(1445,9): error TS2532: Object is possibly 'undefined'.
64
296
  src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
65
297
  src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
66
298
  src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
299
+ src/Project.tsx(144,30): 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'?
300
+ 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'?
67
301
  src/Project.tsx(398,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
68
302
  Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
69
- src/Pure.ts(33,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 & { ...; }'.
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'.
308
+ 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 & { ...; }'.
70
309
  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
71
- src/Pure.ts(57,26): error TS2552: Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
310
+ 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>'.
311
+ Type '(partialTestResource: string) => Promise<IFinalResults | -2>' is not assignable to type '(partialTestResource: string) => Promise<IFinalResults>'.
312
+ Type 'Promise<IFinalResults | -2>' is not assignable to type 'Promise<IFinalResults>'.
313
+ Type 'IFinalResults | -2' is not assignable to type 'IFinalResults'.
314
+ Type 'number' is not assignable to type 'IFinalResults'.
315
+ src/Pure.ts(65,3): error TS2322: Type 'PureTesteranto<I, O, M>' is not assignable to type 'number | TesterantoCore<I, O, M>'.
316
+ Type 'PureTesteranto<I, O, M>' is not assignable to type 'TesterantoCore<I, O, M>'.
317
+ The types returned by 'receiveTestResourceConfig(...)' are incompatible between these types.
318
+ Type 'Promise<IFinalResults | -2>' is not assignable to type 'Promise<IFinalResults>'.
319
+ Type 'IFinalResults | -2' is not assignable to type 'IFinalResults'.
320
+ Type 'number' is not assignable to type 'IFinalResults'.
72
321
  src/TestReport.tsx(276,19): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
73
322
  Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
74
323
  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 & { ...; }'.
75
324
  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
76
325
  src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
77
326
  src/Web.ts(67,14): error TS2554: Expected 0 arguments, but got 1.
78
- src/Web.ts(90,26): error TS2552: Cannot find name 'IWebTestInterface'. Did you mean 'ITestInterface'?
79
- testeranto.config.ts(42,7): error TS2561: Object literal may only specify known properties, but 'externalTests' does not exist in type 'ITestconfig'. Did you mean to write 'externals'?
80
- testeranto.config.ts(91,7): error TS2561: Object literal may only specify known properties, but 'externalTests' does not exist in type 'ITestconfig'. Did you mean to write 'externals'?
81
327
  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
@@ -1,44 +0,0 @@
1
- import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
-
3
- // src/PM/sidecar.ts
4
- var PM_sidecar = class {
5
- testArtiFactoryfileWriter(tLog, callback) {
6
- return (fPath, value) => {
7
- callback(Promise.resolve());
8
- };
9
- }
10
- // abstract $(selector: string): any;
11
- // abstract click(selector: string): any;
12
- // abstract closePage(p): any;
13
- // abstract createWriteStream(
14
- // filepath: string,
15
- // testName: string
16
- // ): Promise<string>;
17
- // abstract customclose();
18
- // abstract customScreenShot(opts: object, page?: string): any;
19
- // abstract end(uid: number): Promise<boolean>;
20
- // abstract existsSync(fp: string): Promise<boolean>;
21
- // abstract focusOn(selector: string): any;
22
- // abstract getAttribute(selector: string, attribute: string): any;
23
- // abstract getValue(value: string): any;
24
- // abstract goto(p, url: string): any;
25
- // abstract isDisabled(selector: string): Promise<boolean>;
26
- // abstract mkdirSync(a: string);
27
- // abstract newPage(): Promise<string>;
28
- // abstract page(): Promise<string | undefined>;
29
- // abstract pages(): Promise<string[]>;
30
- // abstract screencast(o: ScreenRecorderOptions, p: Page | string): any;
31
- // abstract screencastStop(s: string): any;
32
- // abstract typeInto(selector: string, value: string): any;
33
- // abstract waitForSelector(p, sel: string);
34
- // abstract write(uid: number, contents: string): Promise<boolean>;
35
- // abstract writeFileSync(f: string, c: string, t: string): Promise<boolean>;
36
- // abstract launchSideCar(
37
- // n: number
38
- // ): Promise<[number, ITTestResourceConfiguration]>;
39
- // abstract stopSideCar(n: number): Promise<any>;
40
- };
41
-
42
- export {
43
- PM_sidecar
44
- };
@@ -1,187 +0,0 @@
1
- import { createRequire } from 'module';const require = createRequire(import.meta.url);
2
- import {
3
- PM_sidecar
4
- } from "../../../chunk-PG6KUKNP.mjs";
5
- import {
6
- Node_default
7
- } from "../../../chunk-4PJCC2XT.mjs";
8
-
9
- // src/PM/nodeSidecar.ts
10
- import net from "net";
11
- var PM_Node_Sidecar = class extends PM_sidecar {
12
- constructor(t) {
13
- super();
14
- this.testResourceConfiguration = t;
15
- this.client = {};
16
- }
17
- start(stopper) {
18
- return new Promise((res) => {
19
- process.on("message", async (message) => {
20
- if (message === "stop") {
21
- console.log("STOP!", stopper.toString());
22
- await stopper();
23
- process.exit();
24
- } else if (message.path) {
25
- this.client = net.createConnection(message.path, () => {
26
- res();
27
- });
28
- }
29
- });
30
- });
31
- }
32
- stop() {
33
- return new Promise((resolve) => {
34
- if (this.client) {
35
- this.client.end(() => resolve());
36
- } else {
37
- resolve();
38
- }
39
- });
40
- }
41
- testArtiFactoryfileWriter(tLog, callback) {
42
- return (fPath, value) => {
43
- callback(Promise.resolve());
44
- };
45
- }
46
- send(command, ...argz) {
47
- return new Promise((res) => {
48
- const key = Math.random().toString();
49
- const myListener = (event) => {
50
- const x = JSON.parse(event);
51
- if (x.key === key) {
52
- process.removeListener("message", myListener);
53
- res(x.payload);
54
- }
55
- };
56
- process.addListener("message", myListener);
57
- this.client.write(JSON.stringify([command, ...argz, key]));
58
- });
59
- }
60
- };
61
-
62
- // src/PM/__tests__/nodeSidecar.testeranto.ts
63
- var specification = (Suite, Given, When, Then) => {
64
- return [
65
- Suite.SidecarInitialized(
66
- "Sidecar message passing works correctly",
67
- {
68
- basicSend: Given.SidecarReady(
69
- ["can send and receive messages"],
70
- [When.SendTestMessage("test-message")],
71
- [Then.MessageReceived("test-message")]
72
- ),
73
- cleanup: Given.SidecarReady(
74
- ["cleans up listeners after message"],
75
- [When.VerifyCleanup()],
76
- [Then.ListenersCleaned()]
77
- )
78
- },
79
- []
80
- )
81
- ];
82
- };
83
- var implementation = {
84
- suites: { SidecarInitialized: (x) => x },
85
- givens: {
86
- SidecarReady: () => {
87
- const config = {
88
- name: "test-sidecar",
89
- fs: "/tmp",
90
- ports: [3001],
91
- browserWSEndpoint: ""
92
- };
93
- return new PM_Node_Sidecar(config);
94
- }
95
- },
96
- whens: {
97
- SendTestMessage: (message) => async (sidecar) => {
98
- let callbackFn;
99
- const mockProcess = {
100
- on: (event, callback) => {
101
- if (event === "message") {
102
- callbackFn = callback;
103
- callback(
104
- JSON.stringify({
105
- key: "mock-key",
106
- payload: message
107
- })
108
- );
109
- }
110
- return mockProcess;
111
- },
112
- addListener: () => mockProcess,
113
- removeListener: () => mockProcess
114
- };
115
- process = mockProcess;
116
- let writeCalled = false;
117
- sidecar.client.write = (data) => {
118
- writeCalled = true;
119
- return true;
120
- };
121
- await sidecar.send("test-command", message);
122
- return { writeCalled, callbackFn };
123
- },
124
- VerifyCleanup: () => async (sidecar) => {
125
- let addListenerCalled = false;
126
- let removeListenerCalled = false;
127
- const mockProcess = {
128
- addListener: () => {
129
- addListenerCalled = true;
130
- return mockProcess;
131
- },
132
- removeListener: () => {
133
- removeListenerCalled = true;
134
- return mockProcess;
135
- }
136
- };
137
- process = mockProcess;
138
- await sidecar.send("test-command", "test");
139
- return { addListenerCalled, removeListenerCalled };
140
- }
141
- },
142
- thens: {
143
- MessageReceived: (expected) => (actual) => {
144
- if (actual !== expected) {
145
- throw new Error(`Expected "${expected}" but got "${actual}"`);
146
- }
147
- return actual;
148
- },
149
- ListenersCleaned: () => (result, { removeListenerCalled }) => {
150
- if (!removeListenerCalled) {
151
- throw new Error("Expected removeListener to be called");
152
- }
153
- return result;
154
- }
155
- },
156
- checks: { SidecarState: () => "unknown" }
157
- };
158
- var testInterface = {
159
- beforeEach: async (subject, initializer, testResource, initialValues, pm) => {
160
- const sidecar = initializer();
161
- sidecar.client = {
162
- write: () => true,
163
- end: () => {
164
- },
165
- on: () => {
166
- }
167
- };
168
- return sidecar;
169
- },
170
- andWhen: async (store, whenCB, testResource, pm) => {
171
- try {
172
- await whenCB(store, testResource, pm);
173
- } catch (e) {
174
- console.error("Error in andWhen:", e);
175
- throw e;
176
- }
177
- }
178
- };
179
- var nodeSidecar_testeranto_default = Node_default(
180
- () => new PM_Node_Sidecar({}),
181
- specification,
182
- implementation,
183
- testInterface
184
- );
185
- export {
186
- nodeSidecar_testeranto_default as default
187
- };