testeranto 0.167.0 → 0.171.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 (181) hide show
  1. package/dist/common/src/NavBar.js +45 -0
  2. package/dist/common/src/PM/main.js +81 -59
  3. package/dist/common/src/Pure.js +16 -14
  4. package/dist/common/src/ReportServer.js +48 -5
  5. package/dist/common/src/Web.js +35 -20
  6. package/dist/common/src/components/SunriseAnimation.test/implementation.js +1 -0
  7. package/dist/common/src/components/SunriseAnimation.test/index.js +1 -0
  8. package/dist/common/src/components/SunriseAnimation.test/interface.js +1 -0
  9. package/dist/common/src/components/SunriseAnimation.test/specification.js +1 -0
  10. package/dist/common/src/components/TestStatusBadge.js +55 -0
  11. package/dist/common/src/components/pure/ProjectPageView.js +204 -0
  12. package/dist/common/src/components/pure/ProjectPageView.test/adapter.js +20 -0
  13. package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +71 -0
  14. package/dist/common/src/components/pure/ProjectPageView.test/index.js +10 -0
  15. package/dist/common/src/components/pure/ProjectPageView.test/specification.js +19 -0
  16. package/dist/common/src/components/pure/ProjectPageView.test/types.js +2 -0
  17. package/dist/common/src/lib/BaseSuite.js +3 -3
  18. package/dist/common/src/lib/BaseSuite.test/test.js +1 -1
  19. package/dist/common/src/lib/abstractBase.js +41 -14
  20. package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
  21. package/dist/common/src/lib/pmProxy.js +185 -64
  22. package/dist/common/testeranto.config.js +6 -0
  23. package/dist/common/tsconfig.common.tsbuildinfo +1 -1
  24. package/dist/module/src/App.js +3 -3
  25. package/dist/module/src/PM/main.js +81 -59
  26. package/dist/module/src/ProjectsPage.js +1 -110
  27. package/dist/module/src/Pure.js +16 -14
  28. package/dist/module/src/ReportServer.js +48 -5
  29. package/dist/module/src/TestPage.js +45 -16
  30. package/dist/module/src/Web.js +35 -20
  31. package/dist/module/src/components/SunriseAnimation.test/implementation.js +1 -0
  32. package/dist/module/src/components/SunriseAnimation.test/index.js +1 -0
  33. package/dist/module/src/components/SunriseAnimation.test/interface.js +1 -0
  34. package/dist/module/src/components/SunriseAnimation.test/specification.js +1 -0
  35. package/dist/module/src/components/pure/ProjectPageView.js +197 -0
  36. package/dist/module/src/components/pure/ProjectPageView.test/adapter.js +17 -0
  37. package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +68 -0
  38. package/dist/module/src/components/pure/ProjectPageView.test/index.js +5 -0
  39. package/dist/module/src/components/pure/ProjectPageView.test/specification.js +15 -0
  40. package/dist/module/src/components/pure/ProjectPageView.test/types.js +1 -0
  41. package/dist/module/src/components/pure/ProjectsPageView.js +58 -0
  42. package/dist/module/src/components/pure/TestPageView.js +136 -0
  43. package/dist/module/src/components/stateful/ProjectPage.js +63 -0
  44. package/dist/module/src/components/stateful/ProjectsPage.js +55 -0
  45. package/dist/module/src/components/stateful/TestPage.js +82 -0
  46. package/dist/module/src/lib/BaseSuite.js +3 -3
  47. package/dist/module/src/lib/BaseSuite.test/test.js +1 -1
  48. package/dist/module/src/lib/abstractBase.js +41 -14
  49. package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +1 -1
  50. package/dist/module/src/lib/pmProxy.js +185 -64
  51. package/dist/module/testeranto.config.js +6 -0
  52. package/dist/module/tsconfig.module.tsbuildinfo +1 -1
  53. package/dist/prebuild/App.js +541 -495
  54. package/dist/prebuild/ReportServer.mjs +44 -4
  55. package/dist/prebuild/run.mjs +67 -39
  56. package/dist/types/src/NavBar.d.ts +19 -0
  57. package/dist/types/src/PM/index.d.ts +3 -1
  58. package/dist/types/src/PM/main.d.ts +0 -4
  59. package/dist/types/src/PM/node.d.ts +2 -2
  60. package/dist/types/src/components/SunriseAnimation.test/interface.d.ts +0 -0
  61. package/dist/types/src/components/SunriseAnimation.test/specification.d.ts +0 -0
  62. package/dist/types/src/components/TestStatusBadge.d.ts +15 -0
  63. package/dist/types/src/components/pure/ProjectPageView.d.ts +14 -0
  64. package/dist/types/src/components/pure/ProjectPageView.test/adapter.d.ts +3 -0
  65. package/dist/types/src/components/pure/ProjectPageView.test/implementation.d.ts +3 -0
  66. package/dist/types/src/components/pure/ProjectPageView.test/index.d.ts +3 -0
  67. package/dist/types/src/components/pure/ProjectPageView.test/specification.d.ts +3 -0
  68. package/dist/types/src/components/pure/ProjectPageView.test/types.d.ts +39 -0
  69. package/dist/types/src/lib/BaseSuite.d.ts +2 -0
  70. package/dist/types/src/lib/abstractBase.d.ts +12 -0
  71. package/dist/types/tsconfig.types.tsbuildinfo +1 -1
  72. package/package.json +3 -2
  73. package/src/App.tsx +5 -9
  74. package/src/PM/index.ts +1 -1
  75. package/src/PM/main.ts +87 -82
  76. package/src/PM/node.ts +2 -2
  77. package/src/ProjectsPage.tsx +1 -164
  78. package/src/Pure.ts +16 -16
  79. package/src/ReportServer.ts +49 -6
  80. package/src/TestPage.tsx +78 -5
  81. package/src/Web.ts +35 -35
  82. package/src/components/SunriseAnimation.test/implementation.ts +0 -0
  83. package/src/components/SunriseAnimation.test/index.ts +0 -0
  84. package/src/components/SunriseAnimation.test/interface.ts +0 -0
  85. package/src/components/SunriseAnimation.test/specification.ts +0 -0
  86. package/src/components/pure/ProjectPageView.test/adapter.ts +21 -0
  87. package/src/components/pure/ProjectPageView.test/implementation.tsx +84 -0
  88. package/src/components/pure/ProjectPageView.test/index.ts +8 -0
  89. package/src/components/pure/ProjectPageView.test/specification.ts +31 -0
  90. package/src/components/pure/ProjectPageView.test/types.ts +55 -0
  91. package/src/components/pure/ProjectPageView.tsx +332 -0
  92. package/src/components/pure/ProjectsPageView.tsx +99 -0
  93. package/src/components/pure/TestPageView.tsx +278 -0
  94. package/src/components/stateful/ProjectPage.tsx +83 -0
  95. package/src/components/stateful/ProjectsPage.tsx +73 -0
  96. package/src/components/stateful/TestPage.tsx +107 -0
  97. package/src/lib/BaseSuite.test/test.ts +1 -1
  98. package/src/lib/BaseSuite.ts +9 -4
  99. package/src/lib/abstractBase.ts +45 -14
  100. package/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts +1 -1
  101. package/src/lib/pmProxy.ts +184 -87
  102. package/testeranto/App.js +541 -495
  103. package/testeranto/bundles/node/allTests/{chunk-4ONUZRZ4.mjs → chunk-3EUGBAOM.mjs} +1 -1
  104. package/testeranto/bundles/node/allTests/{chunk-IDCUSTSM.mjs → chunk-E75CSRER.mjs} +246 -115
  105. package/testeranto/bundles/node/allTests/{chunk-NQEP7SN4.mjs → chunk-M6DO7VMB.mjs} +1 -1
  106. package/testeranto/bundles/node/allTests/metafile.json +34 -34
  107. package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +4 -4
  108. package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +3 -3
  109. package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +3 -3
  110. package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +2 -17
  111. package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +2 -2
  112. package/testeranto/bundles/pure/allTests/{chunk-5SBJWHSZ.mjs → chunk-KHDVEHF7.mjs} +2 -17
  113. package/testeranto/bundles/pure/allTests/{chunk-4ULDTZFU.mjs → chunk-VMUSFSZM.mjs} +246 -115
  114. package/testeranto/bundles/pure/allTests/metafile.json +57 -27
  115. package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +2 -2
  116. package/testeranto/bundles/pure/allTests/src/lib/BaseSuite.test/pure.test.mjs +3 -3
  117. package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +2 -29
  118. package/testeranto/bundles/web/allTests/chunk-HPYA4YZC.mjs +2283 -0
  119. package/testeranto/bundles/web/allTests/{chunk-TU3MJSSI.mjs → chunk-RLDR6LJN.mjs} +302 -127
  120. package/testeranto/bundles/web/allTests/{chunk-46E6YGGN.mjs → chunk-U7AW26HL.mjs} +292 -142
  121. package/testeranto/bundles/web/allTests/metafile.json +15062 -43
  122. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.html +19 -0
  123. package/testeranto/bundles/web/allTests/src/components/pure/ProjectPageView.test/index.mjs +37524 -0
  124. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +20 -2
  125. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +26 -2
  126. package/testeranto/reports/allTests/config.json +8 -0
  127. package/testeranto/reports/allTests/src/Pure.test/pure/type_errors.txt +9 -3
  128. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/bdd_errors.txt +1 -0
  129. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +13 -0
  130. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/logs.txt +50 -0
  131. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/message.txt +2 -0
  132. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/prompt.txt +17 -0
  133. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/tests.json +32 -0
  134. package/testeranto/reports/allTests/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +68 -0
  135. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +22 -39
  136. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/tests.json +6 -3
  137. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +8 -1
  138. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/tests.json +6 -3
  139. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +9 -3
  140. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +66 -55
  141. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +2 -2
  142. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/tests.json +6 -3
  143. package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +10 -5
  144. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +16 -48
  145. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +18 -9
  146. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +8 -1
  147. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +10 -5
  148. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +62 -33
  149. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +2 -2
  150. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +18 -9
  151. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +10 -5
  152. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +37 -50
  153. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/tests.json +36 -18
  154. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +8 -1
  155. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/logs.txt +2 -2
  156. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/type_errors.txt +9 -3
  157. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt +21 -36
  158. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json +28 -14
  159. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +8 -1
  160. package/testeranto/reports/allTests/summary.json +15 -8
  161. package/testeranto/reportsweb_build_errors +25 -0
  162. package/testeranto.config.ts +7 -0
  163. package/tsc.log +100 -26
  164. package/dist/tsconfig.tsbuildinfo +0 -1
  165. package/testeranto/bundles/node/allTests/chunk-FFBRDUBH.mjs +0 -677
  166. package/testeranto/bundles/node/allTests/chunk-H2IBV7SY.mjs +0 -113
  167. package/testeranto/bundles/node/allTests/chunk-ZHOULXPN.mjs +0 -252
  168. package/testeranto/bundles/pure/allTests/chunk-CSMXYJ65.mjs +0 -200
  169. package/testeranto/bundles/pure/allTests/chunk-QK4IXLF6.mjs +0 -674
  170. package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test/manifest.json +0 -1
  171. package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/manifest.json +0 -1
  172. package/testeranto/reports/allTests/src/Pure.test/pure/manifest.json +0 -1
  173. package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/manifest.json +0 -1
  174. package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/manifest.json +0 -1
  175. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/manifest.json +0 -1
  176. package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/manifest.json +0 -1
  177. package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/manifest.json +0 -1
  178. package/testeranto/reports/allTests/src/lib/core.test/core.test/node/manifest.json +0 -1
  179. package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/manifest.json +0 -1
  180. /package/{testeranto/reports/allTests/src/Pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/implementation.d.ts} +0 -0
  181. /package/{testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt → dist/types/src/components/SunriseAnimation.test/index.d.ts} +0 -0
package/tsc.log CHANGED
@@ -1,7 +1,77 @@
1
1
  $ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
2
- src/App.tsx(49,34): error TS2339: Property 'createRoot' does not exist on type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")'.
3
- src/App.tsx(59,10): error TS2339: Property 'App' does not exist on type 'Window & typeof globalThis'.
4
- src/App.tsx(61,3): error TS2740: Type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/client")' is missing the following properties from type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")': findDOMNode, unmountComponentAtNode, createPortal, flushSync, and 5 more.
2
+ node_modules/testeranto-react/src/mocks/mockReactComponent.tsx(58,9): error TS2554: Expected 3 arguments, but got 2.
3
+ node_modules/testeranto-react/src/react-dom/component/dynamic.ts(6,19): error TS2305: Module '"testeranto/src/CoreTypes"' has no exported member 'ITestAdapter'.
4
+ node_modules/testeranto-react/src/react-dom/component/dynamic.ts(50,45): error TS2339: Property 'subject' does not exist on type 'Readonly<{}>'.
5
+ node_modules/testeranto-react/src/react-dom/component/web.ts(5,3): error TS2305: Module '"testeranto/src/CoreTypes"' has no exported member 'ITestAdapter'.
6
+ node_modules/testeranto-react/src/react/component/index.ts(3,44): error TS2307: Cannot find module '../../../Types' or its corresponding type declarations.
7
+ node_modules/testeranto/src/lib/basebuilder.ts(85,15): error TS2349: This expression is not callable.
8
+ Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
9
+ Type 'void' has no call signatures.
10
+ node_modules/testeranto/src/lib/classBuilder.ts(90,18): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
11
+ node_modules/testeranto/src/lib/classBuilder.ts(105,28): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
12
+ node_modules/testeranto/src/lib/index.ts(22,3): error TS2322: Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
13
+ Types of parameters 'initialValues' and 'initializer' are incompatible.
14
+ Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
15
+ 'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
16
+ node_modules/testeranto/src/lib/index.ts(24,20): error TS2536: Type '"iinitialValues"' cannot be used to index type 'T'.
17
+ node_modules/testeranto/src/lib/index.ts(46,13): error TS2349: This expression is not callable.
18
+ Type 'unknown' has no call signatures.
19
+ node_modules/testeranto/src/lib/index.ts(58,3): error TS2322: Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestInterface<T>'.
20
+ Types of property 'assertThis' are incompatible.
21
+ Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
22
+ Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
23
+ node_modules/testeranto/src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
24
+ node_modules/testeranto/src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
25
+ node_modules/testeranto/src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
26
+ node_modules/testeranto/src/Web.ts(40,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
27
+ Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; checks: Record<string, any>; }': suites, givens, whens, thens, checks
28
+ node_modules/testeranto/src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
29
+ node_modules/testeranto/src/Web.ts(67,14): error TS2554: Expected 0 arguments, but got 1.
30
+ src/App.tsx(45,34): error TS2339: Property 'createRoot' does not exist on type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")'.
31
+ src/App.tsx(55,10): error TS2339: Property 'App' does not exist on type 'Window & typeof globalThis'.
32
+ src/App.tsx(57,3): error TS2740: Type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/client")' is missing the following properties from type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")': findDOMNode, unmountComponentAtNode, createPortal, flushSync, and 5 more.
33
+ src/components/pure/ProjectPageView.test/adapter.ts(6,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, initializer: (c?: any) => (...args: any[]) => import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, testResource: import("/Users/adam/Code/testeranto/src/lib/index").I...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, initializer: (c?: any) => (...args: any[]) => import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, testResource: import("/Users/adam/Code/testeranto/src/lib/index").I...'. Two different types with this name exist, but they are unrelated.
34
+ Type 'Promise<(...args: any[]) => IProjectPageViewProps>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
35
+ Type '(...args: any[]) => IProjectPageViewProps' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
36
+ Type '(...args: any[]) => IProjectPageViewProps' is not assignable to type 'IProjectPageViewProps'.
37
+ src/components/pure/ProjectPageView.test/adapter.ts(9,3): error TS2719: Type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, whenCB: () => (props: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, utils: any) => import("/Users/adam/Code/testeranto...' is not assignable to type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, whenCB: () => (props: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps, utils: any) => import("/Users/adam/Code/testeranto...'. Two different types with this name exist, but they are unrelated.
38
+ Type 'Promise<(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
39
+ Type '(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
40
+ Type '(props: IProjectPageViewProps, utils: any) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps'.
41
+ src/components/pure/ProjectPageView.test/adapter.ts(10,19): error TS2554: Expected 0 arguments, but got 2.
42
+ src/components/pure/ProjectPageView.test/adapter.ts(12,3): error TS2719: Type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, thenCB: () => (state: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { ...; }) => import("/Users/adam/Code/testeranto/...' is not assignable to type '(store: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { container?: HTMLElement | undefined; }, thenCB: () => (state: import("/Users/adam/Code/testeranto/src/components/pure/ProjectPageView").IProjectPageViewProps & { ...; }) => import("/Users/adam/Code/testeranto/...'. Two different types with this name exist, but they are unrelated.
43
+ Type 'Promise<(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }>' is not assignable to type 'Promise<IProjectPageViewProps & { container?: HTMLElement | undefined; }>'.
44
+ Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
45
+ Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps'.
46
+ src/components/pure/ProjectPageView.test/adapter.ts(13,19): error TS2554: Expected 0 arguments, but got 2.
47
+ src/components/pure/ProjectPageView.test/implementation.tsx(49,11): error TS2769: No overload matches this call.
48
+ The last overload gave the following error.
49
+ Argument of type 'Element' is not assignable to parameter of type 'ReactElement<unknown, string | JSXElementConstructor<any>>[]'.
50
+ Type 'ReactElement<any, any>' is missing the following properties from type 'ReactElement<unknown, string | JSXElementConstructor<any>>[]': length, pop, push, concat, and 35 more.
51
+ src/components/pure/ProjectPageView.test/implementation.tsx(49,12): error TS2686: 'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
52
+ src/components/pure/ProjectPageView.test/implementation.tsx(69,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
53
+ Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
54
+ Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
55
+ src/components/pure/ProjectPageView.test/implementation.tsx(71,34): error TS18048: 'container' is possibly 'undefined'.
56
+ src/components/pure/ProjectPageView.test/implementation.tsx(73,73): error TS18048: 'container' is possibly 'undefined'.
57
+ src/components/pure/ProjectPageView.test/implementation.tsx(80,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
58
+ Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
59
+ Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
60
+ src/components/pure/ProjectPageView.test/implementation.tsx(81,18): error TS18048: 'container' is possibly 'undefined'.
61
+ src/components/pure/ProjectPageView.test/index.ts(8,27): error TS2344: Type 'I' does not satisfy the constraint 'Ibdd_out'.
62
+ Type 'I' is missing the following properties from type 'Ibdd_out': suites, givens, whens, thens, checks
63
+ src/components/pure/ProjectPageView.tsx(217,19): error TS18046: 'testData' is of type 'unknown'.
64
+ src/components/pure/ProjectPageView.tsx(218,29): error TS18046: 'testData' is of type 'unknown'.
65
+ src/components/pure/ProjectPageView.tsx(219,26): error TS18046: 'testData' is of type 'unknown'.
66
+ src/components/pure/ProjectPageView.tsx(220,28): error TS18046: 'testData' is of type 'unknown'.
67
+ src/components/pure/ProjectPageView.tsx(298,24): error TS2739: Type '{ testName: string; testsExist: boolean; runTimeErrors: number; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
68
+ src/components/pure/ProjectsPageView.tsx(27,34): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
69
+ src/components/pure/TestPageView.tsx(40,16): error TS2739: Type '{ testName: any; testsExist: any; runTimeErrors: any; variant: "compact"; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
70
+ src/components/stateful/TestPage.tsx(52,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'SetStateAction<string>'.
71
+ Type 'undefined' is not assignable to type 'SetStateAction<string>'.
72
+ src/components/stateful/TestPage.tsx(77,18): error TS2345: Argument of type 'string' is not assignable to parameter of type 'SetStateAction<null>'.
73
+ src/components/stateful/TestPage.tsx(100,7): error TS2322: Type '{ route: string; setRoute: Dispatch<SetStateAction<string>>; navigate: NavigateFunction; projectName: string | undefined; testName: string; ... 10 more ...; summary: null; }' is not assignable to type 'IntrinsicAttributes & { route: any; setRoute: any; navigate: any; projectName: any; testName: any; decodedTestPath: any; runtime: any; testData: any; logs: any; typeErrors: any; lintErrors: any; testsExist: any; errorCounts: any; }'.
74
+ Property 'loading' does not exist on type 'IntrinsicAttributes & { route: any; setRoute: any; navigate: any; projectName: any; testName: any; decodedTestPath: any; runtime: any; testData: any; logs: any; typeErrors: any; lintErrors: any; testsExist: any; errorCounts: any; }'.
5
75
  src/lib/abstractBase.test/adapter.ts(5,47): error TS2322: Type 'Promise<() => { testStore: { value: string; }; }>' is not assignable to type 'Promise<{ testStore: { value: string; }; error?: Error | undefined; }>'.
6
76
  Type '() => { testStore: { value: string; }; }' is not assignable to type '{ testStore: { value: string; }; error?: Error | undefined; }'.
7
77
  src/lib/abstractBase.test/adapter.ts(8,25): error TS2739: Type '{ testStore: { value: string; }; error?: Error | undefined; }' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
@@ -29,7 +99,8 @@ src/lib/abstractBase.test/MockGiven.ts(9,12): error TS2304: Cannot find name 'Ba
29
99
  src/lib/abstractBase.test/MockGiven.ts(24,12): error TS2349: This expression is not callable.
30
100
  Type 'unknown' has no call signatures.
31
101
  src/lib/abstractBase.test/types.ts(13,17): error TS2707: Generic type 'Ibdd_out' requires between 0 and 4 type arguments.
32
- src/lib/abstractBase.ts(222,17): error TS1196: Catch clause variable type annotation must be 'any' or 'unknown' if specified.
102
+ src/lib/abstractBase.ts(244,17): error TS1196: Catch clause variable type annotation must be 'any' or 'unknown' if specified.
103
+ src/lib/abstractBase.ts(301,39): error TS2554: Expected 1 arguments, but got 2.
33
104
  src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(8,49): error TS2322: Type 'Promise<{}>' is not assignable to type 'Promise<BaseBuilder<any, any, any, any, any, any>>'.
34
105
  Type '{}' is missing the following properties from type 'BaseBuilder<any, any, any, any, any, any>': specs, assertThis, testResourceRequirement, artifacts, and 12 more.
35
106
  src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(9,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...'. Two different types with this name exist, but they are unrelated.
@@ -288,17 +359,22 @@ src/PM/__tests__/webSidecar.testeranto.ts(94,38): error TS2322: Type 'boolean' i
288
359
  src/PM/__tests__/webSidecar.testeranto.ts(109,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
289
360
  src/PM/__tests__/webSidecar.testeranto.ts(118,20): error TS2304: Cannot find name 'IPartialNodeAdapter'.
290
361
  src/PM/__tests__/webSidecar.testeranto.ts(118,40): error TS2304: Cannot find name 'I'.
291
- src/PM/main.ts(815,38): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
362
+ src/PM/main.ts(817,38): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
292
363
  Type 'null' is not assignable to type 'number'.
293
- src/PM/main.ts(816,31): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
364
+ src/PM/main.ts(818,31): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
294
365
  Type 'null' is not assignable to type 'number'.
295
- src/PM/main.ts(982,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
296
- src/PM/main.ts(1020,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
297
- src/PM/main.ts(1148,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
298
- src/PM/main.ts(1186,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
299
- src/PM/main.ts(1201,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
300
- src/PM/main.ts(1339,9): error TS2322: Type 'string' is not assignable to type 'Page'.
301
- src/PM/main.ts(1463,9): error TS2532: Object is possibly 'undefined'.
366
+ src/PM/main.ts(984,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
367
+ src/PM/main.ts(1022,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
368
+ src/PM/main.ts(1150,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
369
+ src/PM/main.ts(1188,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
370
+ src/PM/main.ts(1203,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
371
+ src/PM/main.ts(1473,9): error TS2532: Object is possibly 'undefined'.
372
+ src/PM/pure.ts(114,3): error TS2416: Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
373
+ Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
374
+ Types of parameters 'opts' and 'opts' are incompatible.
375
+ Type '{ path: string; }' is not assignable to type 'ScreencastOptions'.
376
+ Types of property 'path' are incompatible.
377
+ Type 'string' is not assignable to type '`${string}.webm`'.
302
378
  src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
303
379
  src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
304
380
  src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
@@ -313,14 +389,6 @@ src/ProjectPage.tsx(316,35): error TS2339: Property 'typeErrors' does not exist
313
389
  src/ProjectPage.tsx(317,37): error TS2339: Property 'staticErrors' does not exist on type 'string | { runTimeErrors: number | "?" | undefined; typeErrors: number | "?" | undefined; staticErrors: number | "?" | undefined; prompt: string | undefined; failingFeatures: object | undefined; }'.
314
390
  Property 'staticErrors' does not exist on type 'string'.
315
391
  src/ProjectPage.tsx(397,45): error TS2339: Property 'tests' does not exist on type 'object'.
316
- src/ProjectsPage.tsx(92,34): error TS2322: Type 'null' is not assignable to type 'string | undefined'.
317
- src/ProjectsPage.tsx(117,61): error TS2339: Property 'tests' does not exist on type 'object'.
318
- src/ProjectsPage.tsx(118,48): error TS18048: 'testData.runTimeErrors' is possibly 'undefined'.
319
- src/ProjectsPage.tsx(118,48): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
320
- src/ProjectsPage.tsx(119,47): error TS18048: 'testData.typeErrors' is possibly 'undefined'.
321
- src/ProjectsPage.tsx(119,47): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
322
- src/ProjectsPage.tsx(119,74): error TS18048: 'testData.staticErrors' is possibly 'undefined'.
323
- src/ProjectsPage.tsx(119,74): error TS2365: Operator '>' cannot be applied to types 'string | number' and 'number'.
324
392
  src/Pure.test.ts(58,20): error TS2322: Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' is not assignable to type '() => IPM'.
325
393
  Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' provides no match for the signature '(): IPM'.
326
394
  src/Pure.test.ts(82,5): error TS2322: Type '(proxyType: string) => (store: { pm: IPM; }) => { pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' is not assignable to type '(Iw_0: string) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
@@ -389,15 +457,21 @@ src/Pure.test.ts(216,29): error TS2322: Type '(store: { pm: IPM; }) => { pm: IPM
389
457
  Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
390
458
  src/Pure.ts(32,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
391
459
  Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
392
- src/Pure.ts(56,58): error TS2339: Property 'testImplementation' does not exist on type 'PureTesteranto<I, O, M>'.
393
- src/ReportServer.ts(64,33): error TS2339: Property 'status' does not exist on type 'Error'.
460
+ src/ReportServer.ts(107,33): error TS2339: Property 'status' does not exist on type 'Error'.
394
461
  src/TestPage.tsx(72,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'SetStateAction<string>'.
395
462
  Type 'undefined' is not assignable to type 'SetStateAction<string>'.
396
463
  src/TestPage.tsx(131,22): error TS2339: Property 'fails' does not exist on type 'TestData'.
397
464
  src/TestPage.tsx(163,16): error TS2739: Type '{ testName: string; testsExist: boolean; runTimeErrors: number; variant: "compact"; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
465
+ src/TestPage.tsx(258,32): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
466
+ src/TestPage.tsx(265,49): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
467
+ src/TestPage.tsx(268,38): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
468
+ src/TestPage.tsx(293,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
469
+ src/TestPage.tsx(297,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
470
+ src/TestPage.tsx(322,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
471
+ src/TestPage.tsx(326,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
398
472
  src/utils/api.ts(69,54): error TS2304: Cannot find name 'testName'.
399
- src/Web.ts(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<...>; }, keyof M> & M & { ...; }'.
473
+ src/Web.ts(43,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
400
474
  Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
401
- src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
402
- src/Web.ts(67,14): error TS2554: Expected 0 arguments, but got 1.
475
+ src/Web.ts(51,14): error TS2554: Expected 0 arguments, but got 1.
476
+ src/Web.ts(73,14): error TS2554: Expected 0 arguments, but got 1.
403
477
  info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.