testeranto 0.135.0 → 0.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aider.chat.history.md +13976 -0
- package/.aider.input.history +530 -0
- package/.aider.tags.cache.v3/{d8/b0/a8966fcd65890fd9f70d7afe8141.val → bd/91/b71f967fd074cf4b757081b429b7.val} +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/{8e/ec/2d4659a1589a0187a757ab1cbefa.val → fb/96/b0f91c7e75e08fc5a6907633cf99.val} +0 -0
- package/README.md +28 -135
- package/bundle.js +1 -1
- package/dist/common/src/Init.js +4 -1
- package/dist/common/src/Node.js +1 -1
- package/dist/common/src/PM/__tests__/nodeSidecar.testeranto.js +2 -2
- package/dist/common/src/Web.js +2 -2
- package/dist/common/src/build.js +7 -73
- package/dist/common/src/defaultConfig.js +0 -1
- package/dist/common/src/lib/abstractBase.js +2 -0
- package/dist/common/src/lib/basebuilder.js +4 -0
- package/dist/common/src/lib/core.js +2 -0
- package/dist/common/src/run.js +1 -1
- package/dist/common/src/utils/buildTemplates.js +88 -0
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Init.js +4 -1
- package/dist/module/src/Node.js +1 -1
- package/dist/module/src/PM/__tests__/nodeSidecar.testeranto.js +2 -2
- package/dist/module/src/Project.js +41 -47
- package/dist/module/src/TestReport.js +34 -31
- package/dist/module/src/Web.js +2 -2
- package/dist/module/src/build.js +7 -73
- package/dist/module/src/defaultConfig.js +0 -1
- package/dist/module/src/lib/abstractBase.js +2 -0
- package/dist/module/src/lib/basebuilder.js +4 -0
- package/dist/module/src/lib/core.js +2 -0
- package/dist/module/src/run.js +1 -1
- package/dist/module/src/utils/buildTemplates.js +82 -0
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/Project.js +62 -13
- package/dist/prebuild/TestReport.js +39 -18
- package/dist/prebuild/build.mjs +96 -73
- package/dist/prebuild/init-docs.mjs +0 -4
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/src/CoreTypes.d.ts +5 -3
- package/dist/types/src/Node.d.ts +3 -3
- package/dist/types/src/PM/__tests__/nodeSidecar.testeranto.d.ts +17 -1
- package/dist/types/src/PM/__tests__/pureSidecar.testeranto.d.ts +17 -1
- package/dist/types/src/PM/__tests__/webSidecar.testeranto.d.ts +17 -1
- package/dist/types/src/PM/nodeSidecar.d.ts +2 -2
- package/dist/types/src/Pure.d.ts +3 -3
- package/dist/types/src/Types.d.ts +18 -14
- package/dist/types/src/Web.d.ts +3 -3
- package/dist/types/src/lib/abstractBase.d.ts +8 -8
- package/dist/types/src/lib/basebuilder.d.ts +3 -3
- package/dist/types/src/lib/classBuilder.d.ts +2 -2
- package/dist/types/src/lib/core.d.ts +2 -2
- package/dist/types/src/lib/index.d.ts +7 -6
- package/dist/types/src/lib/types.d.ts +8 -8
- package/dist/types/src/mothership/test.d.ts +20 -1
- package/dist/types/src/utils/buildTemplates.d.ts +3 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/docs/index.md +344 -54
- package/docs/style.md +116 -0
- package/docs.html +537 -0
- package/example.css +351 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Black.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Bold.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-ExtraBold.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Light.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Medium.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Regular.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Thin.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/OFL.txt +91 -0
- package/index.html +245 -24
- package/logo.svg +72 -0
- package/package.json +6 -2
- package/scripts/compile-docs.js +89 -0
- package/src/CoreTypes.ts +24 -43
- package/src/Init.ts +4 -4
- package/src/Node.ts +6 -20
- package/src/PM/__tests__/nodeSidecar.testeranto.ts +13 -20
- package/src/PM/__tests__/pureSidecar.testeranto.ts +8 -15
- package/src/PM/__tests__/webSidecar.testeranto.ts +8 -15
- package/src/PM/nodeSidecar.ts +2 -2
- package/src/PM/pure.ts +0 -4
- package/src/Project.tsx +289 -292
- package/src/Pure.ts +13 -14
- package/src/PureSidecar.ts +1 -0
- package/src/TestReport.tsx +179 -165
- package/src/Types.ts +29 -144
- package/src/Web.ts +15 -11
- package/src/build.ts +22 -73
- package/src/defaultConfig.ts +2 -1
- package/src/lib/BaseSuite.test.ts +457 -0
- package/src/lib/BaseSuite.ts +155 -0
- package/src/lib/abstractBase.ts +7 -162
- package/src/lib/basebuilder.ts +11 -11
- package/src/lib/classBuilder.ts +8 -3
- package/src/lib/core.ts +12 -12
- package/src/lib/index.ts +21 -24
- package/src/lib/types.ts +23 -9
- package/src/mothership/test.ts +13 -10
- package/src/run.ts +1 -1
- package/src/style.css +1 -1
- package/src/utils/buildTemplates.ts +88 -0
- package/style.css +496 -0
- package/testeranto/bundles/node/{mothership/chunk-V2EQEXU2.mjs → allTests/chunk-4PJCC2XT.mjs} +66 -59
- package/testeranto/bundles/node/allTests/metafile.json +4151 -0
- package/testeranto/bundles/node/allTests/src/PM/__tests__/nodeSidecar.testeranto.mjs +187 -0
- package/testeranto/bundles/node/{mothership → allTests}/src/PM/__tests__/pureSidecar.testeranto.mjs +1 -1
- package/testeranto/bundles/node/{mothership → allTests}/src/PM/__tests__/webSidecar.testeranto.mjs +1 -1
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs +305 -0
- package/testeranto/bundles/node/{mothership → allTests}/src/mothership/test.mjs +1 -1
- package/testeranto/dev.html +29 -0
- package/testeranto/index.html +28 -27
- package/testeranto/reports/allTests/config.json +57 -0
- package/testeranto/reports/{mothership/index.html → allTests/dev.html} +2 -0
- package/testeranto/reports/allTests/index.html +26 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/sidecar.testeranto/node/index.html → allTests/src/PM/__tests__/nodeSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +28 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/webSidecar.testeranto/node/index.html → allTests/src/PM/__tests__/pureSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/{mothership → allTests}/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +12 -12
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +32 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/nodeSidecar.testeranto/node/index.html → allTests/src/PM/__tests__/webSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/{mothership → allTests}/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +12 -12
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +32 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/console_log.txt +35 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/pureSidecar.testeranto/node/index.html → allTests/src/lib/BaseSuite.test/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/lint_errors.json +608 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/prompt.txt +7 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/type_errors.txt +68 -0
- package/testeranto/reports/allTests/src/mothership/test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/mothership/test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/mothership/test/node/message +1 -0
- package/testeranto/reports/allTests/src/mothership/test/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/mothership/test/node/type_errors.txt +24 -0
- package/testeranto/reports/allTests/summary.json +37 -0
- package/testeranto.config.ts +16 -26
- package/tsc.log +66 -69
- package/dist/common/src/SP__Polygon.test.js +0 -10
- package/dist/module/src/ReportClient.js +0 -132
- package/dist/module/src/SP__Polygon.test.js +0 -8
- package/dist/prebuild/ReportClient.js +0 -3
- package/dist/types/src/SP__Polygon.test.d.ts +0 -1
- package/src/ReportClient.tsx +0 -164
- package/src/SP__Polygon.test.ts +0 -13
- package/testeranto/ReportClient.css +0 -11367
- package/testeranto/ReportClient.js +0 -24641
- package/testeranto/bundles/node/mothership/metafile.json +0 -389
- package/testeranto/bundles/node/mothership/src/PM/__tests__/nodeSidecar.testeranto.mjs +0 -1219
- package/testeranto/bundles/node/mothership/src/PM/__tests__/sidecar.testeranto.mjs +0 -1199
- package/testeranto/reports/mothership/config.json +0 -25
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +0 -1564
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +0 -22
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +0 -35
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +0 -26
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/bdd_errors.txt +0 -1
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/lint_errors.json +0 -1564
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/prompt.txt +0 -22
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/tests.json +0 -56
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/type_errors.txt +0 -29
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +0 -26
- package/testeranto/reports/mothership/src/mothership/test/node/bdd_errors.txt +0 -1
- package/testeranto/reports/mothership/src/mothership/test/node/console_log.txt +0 -4
- package/testeranto/reports/mothership/src/mothership/test/node/index.html +0 -20
- package/testeranto/reports/mothership/src/mothership/test/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/mothership/test/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/mothership/test/node/tests.json +0 -24
- package/testeranto/reports/mothership/src/mothership/test/node/type_errors.txt +0 -18
- package/testeranto/reports/mothership/summary.json +0 -9
- /package/testeranto/bundles/node/{mothership → allTests}/chunk-PG6KUKNP.mjs +0 -0
- /package/testeranto/bundles/pure/{mothership → allTests}/metafile.json +0 -0
- /package/testeranto/bundles/web/{mothership → allTests}/metafile.json +0 -0
- /package/testeranto/reports/{mothership/src/PM/__tests__/nodeSidecar.testeranto → allTests/src/lib/BaseSuite.test}/node/log.txt +0 -0
- /package/testeranto/reports/{mothership → allTests}/src/mothership/test/node/lint_errors.json +0 -0
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (85,15): This expression is not callable.
|
|
2
|
+
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
3
|
+
Type 'void' has no call signatures.
|
|
4
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (92,9): Property 'andWhen' in type 'MockWhen' is not assignable to the same property in base type 'BaseWhen<I>'.
|
|
5
|
+
Types of parameters 'whenCB' and 'whenCB' are incompatible.
|
|
6
|
+
Type '(store: TestStore) => Promise<TestSelection>' is not assignable to type 'Promise<TestStore>'.
|
|
7
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (103,9): Property 'butThen' in type 'MockThen' is not assignable to the same property in base type 'BaseThen<I>'.
|
|
8
|
+
Types of parameters 'thenCB' and 'thenCB' are incompatible.
|
|
9
|
+
Type 'Promise<BaseSuite<any, any>>' is not assignable to type 'Promise<TestSelection>'.
|
|
10
|
+
Property 'testSelection' is missing in type 'BaseSuite<any, any>' but required in type 'TestSelection'.
|
|
11
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (136,13): Type 'MockWhen' is not assignable to type 'BaseWhen<I>'.
|
|
12
|
+
Types of property 'andWhen' are incompatible.
|
|
13
|
+
Types of parameters 'whenCB' and 'whenCB' are incompatible.
|
|
14
|
+
Type '(store: TestStore) => Promise<TestSelection>' is not assignable to type 'Promise<TestStore>'.
|
|
15
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (137,15): Type 'Promise<{ testStore: boolean; }>' is not assignable to type '(store: TestStore) => Promise<TestSelection>'.
|
|
16
|
+
Type 'Promise<{ testStore: boolean; }>' provides no match for the signature '(store: TestStore): Promise<TestSelection>'.
|
|
17
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (142,15): Type 'Promise<{ testSelection: boolean; }>' is not assignable to type 'Promise<(store: TestStore) => Promise<TestSelection>>'.
|
|
18
|
+
Type '{ testSelection: boolean; }' is not assignable to type '(store: TestStore) => Promise<TestSelection>'.
|
|
19
|
+
Type '{ testSelection: boolean; }' provides no match for the signature '(store: TestStore): Promise<TestSelection>'.
|
|
20
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (162,10): Cannot find name 'SuiteSpecification'. Did you mean 'ITestSpecification'?
|
|
21
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (163,10): Cannot find name 'GivenSpecification'. Did you mean 'ITestSpecification'?
|
|
22
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (164,9): Cannot find name 'WhenSpecification'.
|
|
23
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (165,9): Cannot find name 'ThenSpecification'. Did you mean 'ITestSpecification'?
|
|
24
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (166,10): Cannot find name 'ITestCheckCallback'.
|
|
25
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (231,35): Type 'TestableSuite' is not assignable to type '() => Promise<TestStore>'.
|
|
26
|
+
Type 'TestableSuite' provides no match for the signature '(): Promise<TestStore>'.
|
|
27
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (237,7): Type '(suite: TestableSuite) => Promise<TestableSuite>' is not assignable to type '(zel: TestSelection, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: TestStore) => Promise<TestStore>>'.
|
|
28
|
+
Types of parameters 'suite' and 'zel' are incompatible.
|
|
29
|
+
Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
|
|
30
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (257,11): Type '() => void' is not assignable to type '((selector: string) => boolean) | ((selector: string) => boolean) | ((selector: string, page: string) => Promise<unknown>)'.
|
|
31
|
+
Type '() => void' is not assignable to type '(selector: string) => boolean'.
|
|
32
|
+
Type 'void' is not assignable to type 'boolean'.
|
|
33
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (259,11): Type '() => void' is not assignable to type '((p: any) => string) | ((p: any) => string) | ((p: any) => Promise<unknown>)'.
|
|
34
|
+
Type '() => void' is not assignable to type '(p: any) => string'.
|
|
35
|
+
Type 'void' is not assignable to type 'string'.
|
|
36
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (325,5): Type '(feature: string) => ((suite: TestableSuite) => TestableSuite)' is not assignable to type '(feature: string) => (ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
37
|
+
Type '(suite: TestableSuite) => TestableSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
38
|
+
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
39
|
+
Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
|
|
40
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (348,7): Type '(suite: TestableSuite) => TestableSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
41
|
+
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
42
|
+
Type 'TestSelection' is missing the following properties from type 'TestableSuite': name, givens, checks, store, and 10 more.
|
|
43
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (413,5): Object literal may only specify known properties, and 'Default' does not exist in type 'TestCheckImplementation<I, O>'.
|
|
44
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (422,30): Type '() => Promise<TestStore>' is not assignable to type 'TestStore'.
|
|
45
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (429,44): Expected 1 arguments, but got 2.
|
|
46
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (436,48): Expected 1 arguments, but got 2.
|
|
47
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (438,3): Type '(store: I["istore"]) => I["istore"]' is not assignable to type '(store: TestStore, key: string, pm: IPM) => Promise<unknown>'.
|
|
48
|
+
Type 'TestStore' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
|
|
49
|
+
/Users/adam/Code/testeranto/src/lib/BaseSuite.test.ts (453,3): Argument of type 'BaseSuite<any, any>' is not assignable to parameter of type 'null'.
|
|
50
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (90,18): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
51
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (105,28): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
52
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (22,3): Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
|
|
53
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
54
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
55
|
+
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
56
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (24,20): Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
57
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (46,13): This expression is not callable.
|
|
58
|
+
Type 'unknown' has no call signatures.
|
|
59
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (58,3): Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestInterface<T>'.
|
|
60
|
+
Types of property 'assertThis' are incompatible.
|
|
61
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
62
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
63
|
+
/Users/adam/Code/testeranto/src/Node.ts (34,7): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
64
|
+
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
|
|
65
|
+
/Users/adam/Code/testeranto/src/Node.ts (58,26): Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
|
|
66
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
67
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
68
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta name="description" content="Webpage description goes here" />
|
|
7
|
+
<base href="" target="_blank">
|
|
8
|
+
<meta charset="utf-8" />
|
|
9
|
+
<title>allTests - testeranto</title>
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
11
|
+
<meta name="author" content="" />
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="./testeranto/TestReport.css" />
|
|
14
|
+
<script src="./testeranto/TestReport.js"></script>
|
|
15
|
+
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
<div id="root"/>
|
|
20
|
+
</body>
|
|
21
|
+
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
|
|
2
|
+
<!DOCTYPE html>
|
|
3
|
+
<html lang="en">
|
|
4
|
+
|
|
5
|
+
<head>
|
|
6
|
+
<meta name="description" content="Webpage description goes here" />
|
|
7
|
+
<base href="undefined" target="_blank">
|
|
8
|
+
<meta charset="utf-8" />
|
|
9
|
+
<title>allTests - testeranto</title>
|
|
10
|
+
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
11
|
+
<meta name="author" content="" />
|
|
12
|
+
|
|
13
|
+
<link rel="stylesheet" href="./testeranto/TestReport.css" />
|
|
14
|
+
<script src="./testeranto/TestReport.js"></script>
|
|
15
|
+
|
|
16
|
+
</head>
|
|
17
|
+
|
|
18
|
+
<body>
|
|
19
|
+
<div id="root"/>
|
|
20
|
+
</body>
|
|
21
|
+
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Fix the failing tests described in testeranto/reports/allTests/src/mothership/test/node/tests.json and testeranto/reports/allTests/src/mothership/test/node/console_log.txt. DO NOT refactor beyond what is necessary. Always prefer minimal changes, focusing mostly on keeping the BDD tests passing
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
|
|
2
|
+
/add src/mothership/index.ts
|
|
3
|
+
/add src/mothership/test.ts
|
|
4
|
+
|
|
5
|
+
/read testeranto/reports/allTests/src/mothership/test/node/tests.json
|
|
6
|
+
/read testeranto/reports/allTests/src/mothership/test/node/console_log.txt
|
|
7
|
+
/read testeranto/reports/allTests/src/mothership/test/node/type_errors.txt
|
|
8
|
+
/read testeranto/reports/allTests/src/mothership/test/node/lint_errors.json
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/Users/adam/Code/testeranto/src/lib/basebuilder.ts (85,15): This expression is not callable.
|
|
2
|
+
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
3
|
+
Type 'void' has no call signatures.
|
|
4
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (90,18): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
5
|
+
/Users/adam/Code/testeranto/src/lib/classBuilder.ts (105,28): A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
6
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (22,3): Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
|
|
7
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
8
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
9
|
+
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
10
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (24,20): Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
11
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (46,13): This expression is not callable.
|
|
12
|
+
Type 'unknown' has no call signatures.
|
|
13
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (58,3): Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestInterface<T>'.
|
|
14
|
+
Types of property 'assertThis' are incompatible.
|
|
15
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
16
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
17
|
+
/Users/adam/Code/testeranto/src/mothership/test.ts (75,13): Type '(x: any) => any' is not assignable to type 'string'.
|
|
18
|
+
/Users/adam/Code/testeranto/src/mothership/test.ts (105,22): Cannot find name 'IPartialNodeInterface'.
|
|
19
|
+
/Users/adam/Code/testeranto/src/Node.ts (34,7): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
20
|
+
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
|
|
21
|
+
/Users/adam/Code/testeranto/src/Node.ts (58,26): Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
|
|
22
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
23
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
24
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
{
|
|
2
|
+
"./src/lib/BaseSuite.test.ts": {
|
|
3
|
+
"runTimeError": 255,
|
|
4
|
+
"typeErrors": 34,
|
|
5
|
+
"staticErrors": 1,
|
|
6
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/./src/lib/BaseSuite.test/prompt.txt",
|
|
7
|
+
"failingFeatures": {}
|
|
8
|
+
},
|
|
9
|
+
"./src/mothership/test.ts": {
|
|
10
|
+
"runTimeError": "?",
|
|
11
|
+
"typeErrors": 14,
|
|
12
|
+
"staticErrors": 0,
|
|
13
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/./src/mothership/test/prompt.txt",
|
|
14
|
+
"failingFeatures": {}
|
|
15
|
+
},
|
|
16
|
+
"./src/PM/__tests__/nodeSidecar.testeranto.ts": {
|
|
17
|
+
"runTimeError": "?",
|
|
18
|
+
"typeErrors": 18,
|
|
19
|
+
"staticErrors": 1,
|
|
20
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/./src/PM/__tests__/nodeSidecar.testeranto/prompt.txt",
|
|
21
|
+
"failingFeatures": {}
|
|
22
|
+
},
|
|
23
|
+
"./src/PM/__tests__/pureSidecar.testeranto.ts": {
|
|
24
|
+
"runTimeError": "?",
|
|
25
|
+
"typeErrors": 21,
|
|
26
|
+
"staticErrors": 1,
|
|
27
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/./src/PM/__tests__/pureSidecar.testeranto/prompt.txt",
|
|
28
|
+
"failingFeatures": {}
|
|
29
|
+
},
|
|
30
|
+
"./src/PM/__tests__/webSidecar.testeranto.ts": {
|
|
31
|
+
"runTimeError": "?",
|
|
32
|
+
"typeErrors": 21,
|
|
33
|
+
"staticErrors": 1,
|
|
34
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/./src/PM/__tests__/webSidecar.testeranto/prompt.txt",
|
|
35
|
+
"failingFeatures": {}
|
|
36
|
+
}
|
|
37
|
+
}
|
package/testeranto.config.ts
CHANGED
|
@@ -1,40 +1,30 @@
|
|
|
1
1
|
import { IProject } from "./src/Types";
|
|
2
2
|
|
|
3
|
-
// import redux from "testeranto_with_reduxjs_toolkit/testeranto.config";
|
|
4
|
-
// import solidity from "testeranto-solidity/testeranto.config";
|
|
5
|
-
|
|
6
3
|
const config: IProject = {
|
|
7
4
|
projects: {
|
|
8
|
-
|
|
9
|
-
// ...redux.projects.allTests,
|
|
10
|
-
// src: "node_modules/testeranto_with_reduxjs_toolkit",
|
|
11
|
-
// },
|
|
12
|
-
// solidity: {
|
|
13
|
-
// ...solidity.projects.solidity,
|
|
14
|
-
// src: "node_modules/testeranto-solidity",
|
|
15
|
-
// },
|
|
16
|
-
|
|
17
|
-
mothership: {
|
|
5
|
+
allTests: {
|
|
18
6
|
tests: [
|
|
19
|
-
|
|
7
|
+
["./src/lib/BaseSuite.test.ts", "node", { ports: 1 }, []],
|
|
8
|
+
|
|
9
|
+
["./src/mothership/test.ts", "node", { ports: 1 }, []],
|
|
20
10
|
[
|
|
21
11
|
"./src/PM/__tests__/nodeSidecar.testeranto.ts",
|
|
22
12
|
"node",
|
|
23
13
|
{ ports: 1 },
|
|
24
14
|
[],
|
|
25
15
|
],
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
16
|
+
[
|
|
17
|
+
"./src/PM/__tests__/pureSidecar.testeranto.ts",
|
|
18
|
+
"node",
|
|
19
|
+
{ ports: 1 },
|
|
20
|
+
[],
|
|
21
|
+
],
|
|
22
|
+
[
|
|
23
|
+
"./src/PM/__tests__/webSidecar.testeranto.ts",
|
|
24
|
+
"node",
|
|
25
|
+
{ ports: 1 },
|
|
26
|
+
[],
|
|
27
|
+
],
|
|
38
28
|
],
|
|
39
29
|
clearScreen: false,
|
|
40
30
|
debugger: false,
|
package/tsc.log
CHANGED
|
@@ -1,84 +1,81 @@
|
|
|
1
1
|
$ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
|
|
2
|
-
src/lib/
|
|
3
|
-
|
|
4
|
-
src/lib/basebuilder.ts(7,10): error TS2459: Module '"../Types.js"' declares 'IT' locally, but it is not exported.
|
|
5
|
-
src/lib/basebuilder.ts(7,34): error TS2459: Module '"../Types.js"' declares 'OT' locally, but it is not exported.
|
|
6
|
-
src/lib/basebuilder.ts(85,15): error TS2349: This expression is not callable.
|
|
7
|
-
Not all constituents of type 'void | ((fPath: any, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
2
|
+
src/lib/basebuilder.ts(90,15): error TS2349: This expression is not callable.
|
|
3
|
+
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
8
4
|
Type 'void' has no call signatures.
|
|
9
|
-
src/lib/classBuilder.ts(
|
|
10
|
-
src/lib/classBuilder.ts(
|
|
11
|
-
src/lib/
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
src/lib/index.ts(
|
|
16
|
-
src/lib/index.ts(
|
|
17
|
-
|
|
18
|
-
src/lib/
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
src/mothership/test.ts(
|
|
23
|
-
src/
|
|
24
|
-
src/Node.ts(9,3): error TS2459: Module '"./Types.js"' declares 'IT' locally, but it is not exported.
|
|
25
|
-
src/Node.ts(11,3): error TS2305: Module '"./Types.js"' has no exported member 'ITestInterface'.
|
|
26
|
-
src/Node.ts(13,3): error TS2459: Module '"./Types.js"' declares 'OT' locally, but it is not exported.
|
|
5
|
+
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
|
+
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<...>'.
|
|
8
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
9
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
10
|
+
'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.
|
|
13
|
+
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>'.
|
|
15
|
+
Types of property 'assertThis' are incompatible.
|
|
16
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
17
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
18
|
+
src/mothership/test.ts(75,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
|
|
19
|
+
src/mothership/test.ts(105,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
|
|
27
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 & { ...; }'.
|
|
28
21
|
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
|
|
29
|
-
src/
|
|
30
|
-
src/PM/__tests__/nodeSidecar.testeranto.ts(
|
|
31
|
-
src/PM/__tests__/nodeSidecar.testeranto.ts(
|
|
32
|
-
src/PM/__tests__/nodeSidecar.testeranto.ts(
|
|
33
|
-
src/PM/__tests__/nodeSidecar.testeranto.ts(
|
|
34
|
-
src/PM/__tests__/
|
|
35
|
-
src/PM/__tests__/
|
|
36
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
37
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
22
|
+
src/Node.ts(58,26): error TS2552: Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
|
|
23
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(58,43): error TS2304: Cannot find name 'I'.
|
|
24
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(59,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
|
|
25
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(100,29): error TS2454: Variable 'callbackFn' is used before being assigned.
|
|
26
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(131,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
|
|
27
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(141,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
|
|
28
|
+
src/PM/__tests__/nodeSidecar.testeranto.ts(141,44): error TS2304: Cannot find name 'I'.
|
|
29
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(58,43): error TS2304: Cannot find name 'I'.
|
|
30
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(59,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
|
|
31
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(74,7): error TS2322: Type '(event: string, callback: Function) => void' is not assignable to type '{ (event: "beforeExit", listener: BeforeExitListener): Process; (event: "disconnect", listener: DisconnectListener): Process; (event: "exit", listener: ExitListener): Process; (event: "rejectionHandled", listener: RejectionHandledListener): Process; (event: "uncaughtException", listener: UncaughtExceptionListener): ...'.
|
|
38
32
|
Type 'void' is not assignable to type 'Process'.
|
|
39
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
40
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
41
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
42
|
-
src/PM/__tests__/pureSidecar.testeranto.ts(
|
|
43
|
-
src/PM/__tests__/
|
|
44
|
-
src/PM/__tests__/
|
|
45
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
46
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
33
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(93,29): error TS2454: Variable 'callbackFn' is used before being assigned.
|
|
34
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(99,35): error TS2322: Type 'boolean' is not assignable to type 'Process'.
|
|
35
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(100,38): error TS2322: Type 'boolean' is not assignable to type 'Process'.
|
|
36
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(115,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
|
|
37
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(125,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
|
|
38
|
+
src/PM/__tests__/pureSidecar.testeranto.ts(125,44): error TS2304: Cannot find name 'I'.
|
|
39
|
+
src/PM/__tests__/webSidecar.testeranto.ts(58,43): error TS2304: Cannot find name 'I'.
|
|
40
|
+
src/PM/__tests__/webSidecar.testeranto.ts(59,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
|
|
41
|
+
src/PM/__tests__/webSidecar.testeranto.ts(74,7): error TS2322: Type '(event: string, callback: Function) => void' is not assignable to type '{ (event: "beforeExit", listener: BeforeExitListener): Process; (event: "disconnect", listener: DisconnectListener): Process; (event: "exit", listener: ExitListener): Process; (event: "rejectionHandled", listener: RejectionHandledListener): Process; (event: "uncaughtException", listener: UncaughtExceptionListener): ...'.
|
|
47
42
|
Type 'void' is not assignable to type 'Process'.
|
|
48
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
49
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
50
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
51
|
-
src/PM/__tests__/webSidecar.testeranto.ts(
|
|
52
|
-
src/PM/
|
|
53
|
-
src/PM/
|
|
54
|
-
src/PM/main.ts(
|
|
55
|
-
src/PM/main.ts(
|
|
56
|
-
src/PM/main.ts(
|
|
57
|
-
src/PM/main.ts(
|
|
58
|
-
src/PM/
|
|
59
|
-
src/PM/
|
|
60
|
-
src/PM/
|
|
61
|
-
src/PM/PM_WithEslintAndTsc.ts(
|
|
43
|
+
src/PM/__tests__/webSidecar.testeranto.ts(93,29): error TS2454: Variable 'callbackFn' is used before being assigned.
|
|
44
|
+
src/PM/__tests__/webSidecar.testeranto.ts(99,35): error TS2322: Type 'boolean' is not assignable to type 'Process'.
|
|
45
|
+
src/PM/__tests__/webSidecar.testeranto.ts(100,38): error TS2322: Type 'boolean' is not assignable to type 'Process'.
|
|
46
|
+
src/PM/__tests__/webSidecar.testeranto.ts(115,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
|
|
47
|
+
src/PM/__tests__/webSidecar.testeranto.ts(125,22): error TS2304: Cannot find name 'IPartialNodeInterface'.
|
|
48
|
+
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.
|
|
62
64
|
src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
|
|
63
65
|
src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
|
|
64
66
|
src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
65
|
-
src/Project.tsx(
|
|
66
|
-
src/Project.tsx(400,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
|
|
67
|
+
src/Project.tsx(398,38): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
|
|
67
68
|
Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
|
|
68
|
-
src/Pure.ts(8,3): error TS2305: Module '"./Types.js"' has no exported member 'INodeTestInterface'.
|
|
69
|
-
src/Pure.ts(9,3): error TS2459: Module '"./Types.js"' declares 'IT' locally, but it is not exported.
|
|
70
|
-
src/Pure.ts(11,3): error TS2305: Module '"./Types.js"' has no exported member 'ITestInterface'.
|
|
71
|
-
src/Pure.ts(13,3): error TS2459: Module '"./Types.js"' declares 'OT' locally, but it is not exported.
|
|
72
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 & { ...; }'.
|
|
73
70
|
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
|
|
74
|
-
src/
|
|
71
|
+
src/Pure.ts(57,26): error TS2552: Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
|
|
72
|
+
src/TestReport.tsx(276,19): error TS2345: Argument of type 'FunctionComponentElement<{}>' is not assignable to parameter of type 'ReactNode'.
|
|
75
73
|
Property 'children' is missing in type 'FunctionComponentElement<{}>' but required in type 'ReactPortal'.
|
|
76
|
-
src/Web.ts(
|
|
77
|
-
src/Web.ts(5,3): error TS2305: Module '"./Types"' has no exported member 'ITestInterface'.
|
|
78
|
-
src/Web.ts(7,3): error TS2305: Module '"./Types"' has no exported member 'IWebTestInterface'.
|
|
79
|
-
src/Web.ts(8,3): error TS2459: Module '"./Types"' declares 'OT' locally, but it is not exported.
|
|
80
|
-
src/Web.ts(39,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 & { ...; }'.
|
|
74
|
+
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 & { ...; }'.
|
|
81
75
|
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
|
|
82
|
-
src/Web.ts(
|
|
83
|
-
src/Web.ts(
|
|
76
|
+
src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
|
|
77
|
+
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'?
|
|
84
81
|
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
const lib_1 = require("../lib");
|
|
4
|
-
(0, lib_1.test6)(["can calculate polygon area"], // Features
|
|
5
|
-
[
|
|
6
|
-
(0, lib_1.When)("given sides", (polygon) => polygon.calculateArea()),
|
|
7
|
-
], [
|
|
8
|
-
(0, lib_1.Then)("area should match", (area) => expect(area).toBeCloseTo(25)),
|
|
9
|
-
], [5, 5] // Values passed to Given
|
|
10
|
-
);
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
// import ReactDom from "react-dom/client";
|
|
3
|
-
// import React, { useEffect, useState } from "react";
|
|
4
|
-
// import 'bootstrap/dist/css/bootstrap.min.css';
|
|
5
|
-
// import "./style.css"
|
|
6
|
-
// import { IRunTime, ITestTypes, IBuiltConfig } from "./lib";
|
|
7
|
-
// import { Footer } from "./Footer";
|
|
8
|
-
// import { Table } from "react-bootstrap";
|
|
9
|
-
// import { ISummary } from "./Types";
|
|
10
|
-
// type ICollation = {
|
|
11
|
-
// name: string;
|
|
12
|
-
// runTime: IRunTime;
|
|
13
|
-
// tr: {
|
|
14
|
-
// ports: number;
|
|
15
|
-
// };
|
|
16
|
-
// sidecars: ITestTypes[];
|
|
17
|
-
// staticAnalysis: number | "?";
|
|
18
|
-
// typeErrors: number | "?";
|
|
19
|
-
// bddErrors: number | "?";
|
|
20
|
-
// prompt: string | "?";
|
|
21
|
-
// };
|
|
22
|
-
// type ICollations = ICollation[];
|
|
23
|
-
// const BigBoard = () => {
|
|
24
|
-
// const [configs, setConfigs] = useState<IBuiltConfig>();
|
|
25
|
-
// useEffect(() => {
|
|
26
|
-
// (async () => {
|
|
27
|
-
// fetch(`./reports/${window.location.pathname.split('/').pop()}/config.json`)
|
|
28
|
-
// .then(response => response.json())
|
|
29
|
-
// .then(json => {
|
|
30
|
-
// setConfigs(json)
|
|
31
|
-
// })
|
|
32
|
-
// .catch(error => console.error(error));
|
|
33
|
-
// })();
|
|
34
|
-
// }, []);
|
|
35
|
-
// const [bigBoard, setBigBoard] = useState<Record<string, ISummary>>({});
|
|
36
|
-
// useEffect(() => {
|
|
37
|
-
// (async () => {
|
|
38
|
-
// fetch('./docs/summary.json')
|
|
39
|
-
// .then(response => response.json())
|
|
40
|
-
// .then(json => {
|
|
41
|
-
// setBigBoard(json)
|
|
42
|
-
// })
|
|
43
|
-
// .catch(error => console.error(error));
|
|
44
|
-
// })();
|
|
45
|
-
// }, []);
|
|
46
|
-
// // const [staticAnalysis, setStaticAnalysis] = useState<Record<string, string>>({});
|
|
47
|
-
// // useEffect(() => {
|
|
48
|
-
// // (async () => {
|
|
49
|
-
// // let accumulator = {};
|
|
50
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
51
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/lint_errors.txt`)).text()
|
|
52
|
-
// // }
|
|
53
|
-
// // setStaticAnalysis(accumulator);
|
|
54
|
-
// // })();
|
|
55
|
-
// // }, [configs, bigBoard]);
|
|
56
|
-
// // const [typeErrors, setTypeErrors] = useState<Record<string, string>>({});
|
|
57
|
-
// // useEffect(() => {
|
|
58
|
-
// // (async () => {
|
|
59
|
-
// // let accumulator = {};
|
|
60
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
61
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/type_errors.txt`)).text()
|
|
62
|
-
// // }
|
|
63
|
-
// // setTypeErrors(accumulator);
|
|
64
|
-
// // })();
|
|
65
|
-
// // }, [configs, bigBoard]);
|
|
66
|
-
// // const [bddErrors, setBddErrors] = useState<Record<string, string>>({});
|
|
67
|
-
// // useEffect(() => {
|
|
68
|
-
// // (async () => {
|
|
69
|
-
// // let accumulator = {};
|
|
70
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
71
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/bdd_errors.txt`)).text()
|
|
72
|
-
// // }
|
|
73
|
-
// // setBddErrors(accumulator);
|
|
74
|
-
// // })();
|
|
75
|
-
// // }, [configs, bigBoard]);
|
|
76
|
-
// if (!configs) {
|
|
77
|
-
// return <div>loading...</div>
|
|
78
|
-
// }
|
|
79
|
-
// const collated: ICollations = configs.tests.map((c) => {
|
|
80
|
-
// return {
|
|
81
|
-
// ...bigBoard[c[0]],
|
|
82
|
-
// name: c[0],
|
|
83
|
-
// runTime: c[1],
|
|
84
|
-
// tr: c[2],
|
|
85
|
-
// sidecars: c[3],
|
|
86
|
-
// staticAnalysis: bigBoard[c[0]].staticErrors,
|
|
87
|
-
// typeErrors: bigBoard[c[0]].typeErrors,
|
|
88
|
-
// bddErrors: bigBoard[c[0]].runTimeError,
|
|
89
|
-
// prompt: bigBoard[c[0]].prompt
|
|
90
|
-
// } as ICollation
|
|
91
|
-
// });
|
|
92
|
-
// return <div >
|
|
93
|
-
// <Table striped bordered hover>
|
|
94
|
-
// <thead>
|
|
95
|
-
// <tr>
|
|
96
|
-
// <th></th>
|
|
97
|
-
// <th>platform</th>
|
|
98
|
-
// <th>BDD errors</th>
|
|
99
|
-
// <th>Lint errors</th>
|
|
100
|
-
// <th>Type errors</th>
|
|
101
|
-
// <th>prompt</th>
|
|
102
|
-
// </tr>
|
|
103
|
-
// </thead>
|
|
104
|
-
// <tbody>
|
|
105
|
-
// {
|
|
106
|
-
// ...collated.map((c) => {
|
|
107
|
-
// return <tr>
|
|
108
|
-
// <td>{c.name}</td>
|
|
109
|
-
// <td>{c.runTime}</td>
|
|
110
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/littleBoard.html`}>{c.bddErrors}</a></td>
|
|
111
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/lint_errors.json`}>{c.staticAnalysis}</a></td>
|
|
112
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/type_errors.txt`}>{c.typeErrors}</a></td>
|
|
113
|
-
// <td>
|
|
114
|
-
// <pre>
|
|
115
|
-
// {c.prompt}
|
|
116
|
-
// </pre>
|
|
117
|
-
// </td>
|
|
118
|
-
// </tr>
|
|
119
|
-
// })
|
|
120
|
-
// }
|
|
121
|
-
// </tbody>
|
|
122
|
-
// </Table>
|
|
123
|
-
// <Footer />
|
|
124
|
-
// </div>
|
|
125
|
-
// }
|
|
126
|
-
// document.addEventListener("DOMContentLoaded", function () {
|
|
127
|
-
// const elem = document.getElementById("root");
|
|
128
|
-
// if (elem) {
|
|
129
|
-
// ReactDom.createRoot(elem).render(React.createElement(BigBoard, {}, []));
|
|
130
|
-
// }
|
|
131
|
-
// });
|
|
132
|
-
// console.log("hello ReportClient!")
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { test6, When, Then } from "../lib";
|
|
2
|
-
test6(["can calculate polygon area"], // Features
|
|
3
|
-
[
|
|
4
|
-
When("given sides", (polygon) => polygon.calculateArea()),
|
|
5
|
-
], [
|
|
6
|
-
Then("area should match", (area) => expect(area).toBeCloseTo(25)),
|
|
7
|
-
], [5, 5] // Values passed to Given
|
|
8
|
-
);
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|