testeranto 0.140.2 → 0.143.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 +9173 -0
- package/.aider.input.history +336 -0
- package/.aider.tags.cache.v3/{ad/3c/10f2ab1397f6d544e613d2a6acaf.val → 3d/81/8b6f0e9b98ec2952cdb8968ac386.val} +0 -0
- package/.aider.tags.cache.v3/63/f1/138061b0aadb868173d197c2a0e0.val +0 -0
- package/.aider.tags.cache.v3/be/72/19ee8e656d160afe9b31523245fe.val +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/cache.db-shm +0 -0
- package/.aider.tags.cache.v3/cache.db-wal +0 -0
- package/.aider.tags.cache.v3/{a7/97/6d37fce350ad2d588f36729db0cd.val → d6/7d/1820c2d4b9330eab7017da4515e7.val} +0 -0
- package/docs/aiderTest.sh +1 -0
- package/docs/testing.ai.txt +98 -0
- package/docs/testing.prompt.txt +8 -0
- package/package.json +3 -3
- package/src/PM/PM_WithEslintAndTsc.ts +35 -21
- package/src/Pure.test.ts +299 -0
- package/src/lib/BaseSuite.test.ts +24 -5
- package/src/lib/abstractBase.test/MockGiven.ts +31 -0
- package/src/lib/abstractBase.test/MockThen.ts +20 -0
- package/src/lib/abstractBase.test/MockWhen.ts +17 -0
- package/src/lib/abstractBase.test/implementation.ts +51 -0
- package/src/lib/abstractBase.test/index.ts +19 -0
- package/src/lib/abstractBase.test/interface.ts +12 -0
- package/src/lib/abstractBase.test/specification.ts +49 -0
- package/src/lib/abstractBase.test/types.ts +19 -0
- package/src/lib/baseBuilder.test/TestBaseBuilder.ts +83 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +133 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.interface.ts +18 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +35 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.ts +13 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +36 -0
- package/src/lib/classBuilder.test/TestClassBuilder.ts +88 -0
- package/src/lib/classBuilder.test/classBuilder.test.implementation.ts +200 -0
- package/src/lib/classBuilder.test/classBuilder.test.interface.ts +17 -0
- package/src/lib/classBuilder.test/classBuilder.test.specification.ts +112 -0
- package/src/lib/classBuilder.test/classBuilder.test.ts +14 -0
- package/src/lib/classBuilder.test/classBuilder.test.types.ts +72 -0
- package/src/lib/core.test/MockCore.ts +49 -0
- package/src/lib/core.test/core.test.implementation.ts +129 -0
- package/src/lib/core.test/core.test.interface.ts +18 -0
- package/src/lib/core.test/core.test.specification.ts +99 -0
- package/src/lib/core.test/core.test.ts +15 -0
- package/src/lib/core.test/core.test.types.ts +68 -0
- package/src/lib/core.ts +1 -1
- package/src/lib/pmProxy.test/implementation.ts +104 -0
- package/src/lib/pmProxy.test/index.ts +19 -0
- package/src/lib/pmProxy.test/interface.ts +47 -0
- package/src/lib/pmProxy.test/mockPM.ts +38 -0
- package/src/lib/pmProxy.test/mockPMBase.ts +136 -0
- package/src/lib/pmProxy.test/specification.ts +123 -0
- package/src/lib/pmProxy.test/types.ts +45 -0
- package/src/lib/pmProxy.ts +40 -193
- package/testeranto/bundles/node/allTests/chunk-2FXOXAKZ.mjs +800 -0
- package/testeranto/bundles/node/allTests/chunk-5MQGD4WC.mjs +251 -0
- package/testeranto/bundles/node/allTests/chunk-6CGAD2FD.mjs +800 -0
- package/testeranto/bundles/node/allTests/chunk-DWKHII32.mjs +800 -0
- package/testeranto/bundles/node/allTests/chunk-KYSOR62N.mjs +167 -0
- package/testeranto/bundles/node/allTests/chunk-PRPFVO6G.mjs +251 -0
- package/testeranto/bundles/node/allTests/chunk-RX4SUFXQ.mjs +251 -0
- package/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs +802 -0
- package/testeranto/bundles/node/allTests/chunk-VAAIAWXC.mjs +117 -0
- package/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs +251 -0
- package/testeranto/bundles/node/allTests/chunk-YI3EGRMQ.mjs +167 -0
- package/testeranto/bundles/node/allTests/metafile.json +1072 -222
- package/testeranto/bundles/node/allTests/src/PM/__tests__/nodeSidecar.testeranto.mjs +2 -1
- package/testeranto/bundles/node/allTests/src/PM/__tests__/pureSidecar.testeranto.mjs +2 -1
- package/testeranto/bundles/node/allTests/src/PM/__tests__/webSidecar.testeranto.mjs +2 -1
- package/testeranto/bundles/node/allTests/src/Pure.test.mjs +261 -0
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs +22 -4
- package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.mjs +226 -0
- package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +406 -0
- package/testeranto/bundles/node/allTests/src/lib/core.test/core.test.mjs +279 -0
- package/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs +4479 -0
- package/testeranto/bundles/node/allTests/src/mothership/test.mjs +4 -2
- package/testeranto/reports/allTests/config.json +40 -1
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/allTests/src/Pure.test/node/console_log.txt +17 -0
- package/testeranto/reports/allTests/src/Pure.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/Pure.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/Pure.test/node/lint_errors.json +134 -0
- package/testeranto/reports/allTests/src/Pure.test/node/message +1 -0
- package/testeranto/reports/allTests/src/Pure.test/node/prompt.txt +7 -0
- package/testeranto/reports/allTests/src/Pure.test/node/type_errors.txt +26 -0
- package/testeranto/reports/allTests/src/lib/BaseGiven.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseGiven.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/console_log.txt +27 -27
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/lint_errors.json +104 -104
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/type_errors.txt +47 -22
- package/testeranto/reports/allTests/src/lib/BaseThen.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseThen.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseWhen.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseWhen.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/abstractBase/index/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/abstractBase/index/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder/baseBuilder.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder/baseBuilder.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/console_log.txt +12 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/lint_errors.json +966 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test/node/type_errors.txt +52 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/console_log.txt +17 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/lint_errors.json +771 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +67 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/console_log.txt +17 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/lint_errors.json +416 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/core.test/core.test/node/type_errors.txt +54 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/console_log.txt +43 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.json +319 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/log.txt +0 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/prompt.txt +10 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +64 -0
- package/testeranto/reports/allTests/src/mothership/test/node/console_log.txt +44 -0
- package/testeranto/reports/allTests/src/mothership/test/node/log.txt +0 -0
- package/testeranto/reports/allTests/summary.json +76 -6
- package/testeranto/reportsnode_build_errors +12 -0
- package/testeranto.config.ts +19 -2
|
@@ -0,0 +1,54 @@
|
|
|
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/core.test/core.test.implementation.ts (18,9): Cannot find name 'specification'.
|
|
7
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (20,11): Type 'never[]' is not assignable to type 'number'.
|
|
8
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (21,9): Cannot find name 'testInterface'.
|
|
9
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (28,9): Cannot find name 'specification'.
|
|
10
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (30,11): Type 'never[]' is not assignable to type 'number'.
|
|
11
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (31,9): Cannot find name 'testInterface'.
|
|
12
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (38,9): Cannot find name 'specification'.
|
|
13
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (41,9): Cannot find name 'testInterface'.
|
|
14
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (48,9): Cannot find name 'specification'.
|
|
15
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (50,11): Type 'never[]' is not assignable to type 'number'.
|
|
16
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (51,13): Cannot find name 'testInterface'.
|
|
17
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (107,20): Property 'testInterface' does not exist on type 'MockCore<any, any, any>'.
|
|
18
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (116,30): Type '(builder: MockCore<any, any, any>) => Promise<MockCore<any, any, any>>' is not assignable to type '(builder: MockCore<any, any, any>) => MockCore<any, any, any>'.
|
|
19
|
+
Type 'Promise<MockCore<any, any, any>>' is missing the following properties from type 'MockCore<any, any, any>': receiveTestResourceConfig, specs, assertThis, testResourceRequirement, and 15 more.
|
|
20
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.implementation.ts (127,20): Type 'PassThrough' is not assignable to type '() => MockCore<any, any, any>'.
|
|
21
|
+
Type 'Transform' provides no match for the signature '(): MockCore<any, any, any>'.
|
|
22
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.interface.ts (5,3): Type '(subject: import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/core.test/MockCore").MockCore<any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ...'. Two different types with this name exist, but they are unrelated.
|
|
23
|
+
Type 'Promise<() => MockCore<any, any, any>>' is not assignable to type 'Promise<MockCore<any, any, any>>'.
|
|
24
|
+
Type '() => MockCore<any, any, any>' is not assignable to type 'MockCore<any, any, any>'.
|
|
25
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.interface.ts (9,26): Expected 1 arguments, but got 2.
|
|
26
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.interface.ts (12,26): Expected 1 arguments, but got 2.
|
|
27
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.interface.ts (14,25): Type 'MockCore<any, any, any>' is missing the following properties from type 'Promise<unknown>': then, catch, finally, [Symbol.toStringTag]
|
|
28
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (21,42): Expected 4 arguments, but got 3.
|
|
29
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (28,31): Expected 4 arguments, but got 3.
|
|
30
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (33,32): Expected 4 arguments, but got 3.
|
|
31
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (76,17): Property 'specsModified' does not exist on type 'ThenSpecification<I, O>'.
|
|
32
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (87,27): Property 'WithCustomImplementation' does not exist on type 'GivenSpecification<I, O>'.
|
|
33
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.specification.ts (89,16): Cannot find name 'implementation'. Did you mean 'DOMImplementation'?
|
|
34
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.ts (14,3): Expected 4-5 arguments, but got 6.
|
|
35
|
+
/Users/adam/Code/testeranto/src/lib/core.test/core.test.types.ts (26,27): Identifier expected. 'interface' is a reserved word in strict mode. Modules are automatically in strict mode.
|
|
36
|
+
/Users/adam/Code/testeranto/src/lib/core.test/MockCore.ts (24,56): Type 'never[]' is not assignable to type 'number'.
|
|
37
|
+
/Users/adam/Code/testeranto/src/lib/core.test/MockCore.ts (31,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 & { ...; }'.
|
|
38
|
+
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
|
|
39
|
+
/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<...>'.
|
|
40
|
+
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
41
|
+
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
42
|
+
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
43
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (24,20): Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
44
|
+
/Users/adam/Code/testeranto/src/lib/index.ts (46,13): This expression is not callable.
|
|
45
|
+
Type 'unknown' has no call signatures.
|
|
46
|
+
/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>'.
|
|
47
|
+
Types of property 'assertThis' are incompatible.
|
|
48
|
+
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
49
|
+
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
50
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
51
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
52
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
53
|
+
/Users/adam/Code/testeranto/src/Pure.ts (32,7): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
54
|
+
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
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
stdout > mark2 butThen {
|
|
2
|
+
beforeEachProxy: MockPMBase { calls: {}, testResourceConfiguration: {}, configs: {} }
|
|
3
|
+
} async (s) => {
|
|
4
|
+
tLog(" Then!!!:", this.name);
|
|
5
|
+
if (typeof this.thenCB === "function") {
|
|
6
|
+
return await this.thenCB(s);
|
|
7
|
+
} else {
|
|
8
|
+
return this.thenCB;
|
|
9
|
+
}
|
|
10
|
+
}
|
|
11
|
+
stdout > test failed 3 TypeError: store.butThenProxy is not a function
|
|
12
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:28:31)
|
|
13
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:336:29
|
|
14
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:4205:12)
|
|
15
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:749:42)
|
|
16
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:331:17)
|
|
17
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:262:34)
|
|
18
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
19
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
20
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
21
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
22
|
+
stderr > Given error: TypeError: store.butThenProxy is not a function
|
|
23
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:28:31)
|
|
24
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:336:29
|
|
25
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:4205:12)
|
|
26
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:749:42)
|
|
27
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:331:17)
|
|
28
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:262:34)
|
|
29
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
30
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
31
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
32
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
33
|
+
stderr > goodbye node with caught error TypeError: store.butThenProxy is not a function
|
|
34
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:28:31)
|
|
35
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:336:29
|
|
36
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:4205:12)
|
|
37
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:749:42)
|
|
38
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:331:17)
|
|
39
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:262:34)
|
|
40
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
41
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
42
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
43
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
@@ -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,319 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"filePath": "/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts",
|
|
4
|
+
"messages": [
|
|
5
|
+
{
|
|
6
|
+
"ruleId": "@typescript-eslint/no-explicit-any",
|
|
7
|
+
"severity": 2,
|
|
8
|
+
"message": "Unexpected any. Specify a different type.",
|
|
9
|
+
"line": 29,
|
|
10
|
+
"column": 28,
|
|
11
|
+
"nodeType": "TSAnyKeyword",
|
|
12
|
+
"messageId": "unexpectedAny",
|
|
13
|
+
"endLine": 29,
|
|
14
|
+
"endColumn": 31,
|
|
15
|
+
"suggestions": [
|
|
16
|
+
{
|
|
17
|
+
"messageId": "suggestUnknown",
|
|
18
|
+
"fix": {
|
|
19
|
+
"range": [
|
|
20
|
+
840,
|
|
21
|
+
843
|
|
22
|
+
],
|
|
23
|
+
"text": "unknown"
|
|
24
|
+
},
|
|
25
|
+
"desc": "Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
"messageId": "suggestNever",
|
|
29
|
+
"fix": {
|
|
30
|
+
"range": [
|
|
31
|
+
840,
|
|
32
|
+
843
|
|
33
|
+
],
|
|
34
|
+
"text": "never"
|
|
35
|
+
},
|
|
36
|
+
"desc": "Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."
|
|
37
|
+
}
|
|
38
|
+
]
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
"ruleId": "no-case-declarations",
|
|
42
|
+
"severity": 2,
|
|
43
|
+
"message": "Unexpected lexical declaration in case block.",
|
|
44
|
+
"line": 34,
|
|
45
|
+
"column": 15,
|
|
46
|
+
"nodeType": "VariableDeclaration",
|
|
47
|
+
"messageId": "unexpected",
|
|
48
|
+
"endLine": 35,
|
|
49
|
+
"endColumn": 52,
|
|
50
|
+
"suggestions": [
|
|
51
|
+
{
|
|
52
|
+
"messageId": "addBrackets",
|
|
53
|
+
"fix": {
|
|
54
|
+
"range": [
|
|
55
|
+
944,
|
|
56
|
+
1600
|
|
57
|
+
],
|
|
58
|
+
"text": "{ const content = expectedPath.includes('content') ? \n \"test content\" : \"default content\";\n proxiedPm.writeFileSync(\n expectedPath.includes('empty') ? \"\" : \n expectedPath.includes('nested') ? \"nested/folder/test.txt\" :\n expectedPath.includes('spaces') ? \"file with spaces.txt\" :\n expectedPath.includes('invalid') ? \"../invalid.txt\" :\n \"test.txt\", \n content\n );\n actualPath = mockPm.getLastCall(\"writeFileSync\")?.path;\n actualContent = mockPm.getLastCall(\"writeFileSync\")?.content;\n break; }"
|
|
59
|
+
},
|
|
60
|
+
"desc": "Add {} brackets around the case block."
|
|
61
|
+
}
|
|
62
|
+
]
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"ruleId": "@typescript-eslint/no-explicit-any",
|
|
66
|
+
"severity": 2,
|
|
67
|
+
"message": "Unexpected any. Specify a different type.",
|
|
68
|
+
"line": 90,
|
|
69
|
+
"column": 38,
|
|
70
|
+
"nodeType": "TSAnyKeyword",
|
|
71
|
+
"messageId": "unexpectedAny",
|
|
72
|
+
"endLine": 90,
|
|
73
|
+
"endColumn": 41,
|
|
74
|
+
"suggestions": [
|
|
75
|
+
{
|
|
76
|
+
"messageId": "suggestUnknown",
|
|
77
|
+
"fix": {
|
|
78
|
+
"range": [
|
|
79
|
+
2921,
|
|
80
|
+
2924
|
|
81
|
+
],
|
|
82
|
+
"text": "unknown"
|
|
83
|
+
},
|
|
84
|
+
"desc": "Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
"messageId": "suggestNever",
|
|
88
|
+
"fix": {
|
|
89
|
+
"range": [
|
|
90
|
+
2921,
|
|
91
|
+
2924
|
|
92
|
+
],
|
|
93
|
+
"text": "never"
|
|
94
|
+
},
|
|
95
|
+
"desc": "Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."
|
|
96
|
+
}
|
|
97
|
+
]
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"ruleId": "@typescript-eslint/no-explicit-any",
|
|
101
|
+
"severity": 2,
|
|
102
|
+
"message": "Unexpected any. Specify a different type.",
|
|
103
|
+
"line": 90,
|
|
104
|
+
"column": 55,
|
|
105
|
+
"nodeType": "TSAnyKeyword",
|
|
106
|
+
"messageId": "unexpectedAny",
|
|
107
|
+
"endLine": 90,
|
|
108
|
+
"endColumn": 58,
|
|
109
|
+
"suggestions": [
|
|
110
|
+
{
|
|
111
|
+
"messageId": "suggestUnknown",
|
|
112
|
+
"fix": {
|
|
113
|
+
"range": [
|
|
114
|
+
2938,
|
|
115
|
+
2941
|
|
116
|
+
],
|
|
117
|
+
"text": "unknown"
|
|
118
|
+
},
|
|
119
|
+
"desc": "Use `unknown` instead, this will force you to explicitly, and safely assert the type is correct."
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
"messageId": "suggestNever",
|
|
123
|
+
"fix": {
|
|
124
|
+
"range": [
|
|
125
|
+
2938,
|
|
126
|
+
2941
|
|
127
|
+
],
|
|
128
|
+
"text": "never"
|
|
129
|
+
},
|
|
130
|
+
"desc": "Use `never` instead, this is useful when instantiating generic type parameters that you don't need to know the type of."
|
|
131
|
+
}
|
|
132
|
+
]
|
|
133
|
+
}
|
|
134
|
+
],
|
|
135
|
+
"suppressedMessages": [],
|
|
136
|
+
"errorCount": 4,
|
|
137
|
+
"fatalErrorCount": 0,
|
|
138
|
+
"warningCount": 0,
|
|
139
|
+
"fixableErrorCount": 0,
|
|
140
|
+
"fixableWarningCount": 0,
|
|
141
|
+
"usedDeprecatedRules": []
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
"filePath": "/Users/adam/Code/testeranto/src/lib/pmProxy.test/index.ts",
|
|
145
|
+
"messages": [
|
|
146
|
+
{
|
|
147
|
+
"ruleId": "@typescript-eslint/no-empty-object-type",
|
|
148
|
+
"severity": 2,
|
|
149
|
+
"message": "The `{}` (\"empty object\") type allows any non-nullish value, including literals like `0` and `\"\"`.\n- If that's what you want, disable this lint rule with an inline comment or configure the 'allowObjectTypes' rule option.\n- If you want a type meaning \"any object\", you probably want `object` instead.\n- If you want a type meaning \"any value\", you probably want `unknown` instead.",
|
|
150
|
+
"line": 11,
|
|
151
|
+
"column": 33,
|
|
152
|
+
"nodeType": "TSTypeLiteral",
|
|
153
|
+
"messageId": "noEmptyObject",
|
|
154
|
+
"endLine": 11,
|
|
155
|
+
"endColumn": 35,
|
|
156
|
+
"suggestions": [
|
|
157
|
+
{
|
|
158
|
+
"messageId": "replaceEmptyObjectType",
|
|
159
|
+
"data": {
|
|
160
|
+
"replacement": "object"
|
|
161
|
+
},
|
|
162
|
+
"fix": {
|
|
163
|
+
"range": [
|
|
164
|
+
353,
|
|
165
|
+
355
|
|
166
|
+
],
|
|
167
|
+
"text": "object"
|
|
168
|
+
},
|
|
169
|
+
"desc": "Replace `{}` with `object`."
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"messageId": "replaceEmptyObjectType",
|
|
173
|
+
"data": {
|
|
174
|
+
"replacement": "unknown"
|
|
175
|
+
},
|
|
176
|
+
"fix": {
|
|
177
|
+
"range": [
|
|
178
|
+
353,
|
|
179
|
+
355
|
|
180
|
+
],
|
|
181
|
+
"text": "unknown"
|
|
182
|
+
},
|
|
183
|
+
"desc": "Replace `{}` with `unknown`."
|
|
184
|
+
}
|
|
185
|
+
]
|
|
186
|
+
}
|
|
187
|
+
],
|
|
188
|
+
"suppressedMessages": [],
|
|
189
|
+
"errorCount": 1,
|
|
190
|
+
"fatalErrorCount": 0,
|
|
191
|
+
"warningCount": 0,
|
|
192
|
+
"fixableErrorCount": 0,
|
|
193
|
+
"fixableWarningCount": 0,
|
|
194
|
+
"usedDeprecatedRules": []
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
"filePath": "/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts",
|
|
198
|
+
"messages": [
|
|
199
|
+
{
|
|
200
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
201
|
+
"severity": 2,
|
|
202
|
+
"message": "'initializer' is defined but never used.",
|
|
203
|
+
"line": 11,
|
|
204
|
+
"column": 31,
|
|
205
|
+
"nodeType": null,
|
|
206
|
+
"messageId": "unusedVar",
|
|
207
|
+
"endLine": 11,
|
|
208
|
+
"endColumn": 42
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
212
|
+
"severity": 2,
|
|
213
|
+
"message": "'testResource' is defined but never used.",
|
|
214
|
+
"line": 11,
|
|
215
|
+
"column": 44,
|
|
216
|
+
"nodeType": null,
|
|
217
|
+
"messageId": "unusedVar",
|
|
218
|
+
"endLine": 11,
|
|
219
|
+
"endColumn": 56
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
223
|
+
"severity": 2,
|
|
224
|
+
"message": "'initialValues' is defined but never used.",
|
|
225
|
+
"line": 11,
|
|
226
|
+
"column": 58,
|
|
227
|
+
"nodeType": null,
|
|
228
|
+
"messageId": "unusedVar",
|
|
229
|
+
"endLine": 11,
|
|
230
|
+
"endColumn": 71
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
234
|
+
"severity": 2,
|
|
235
|
+
"message": "'pm' is defined but never used.",
|
|
236
|
+
"line": 11,
|
|
237
|
+
"column": 73,
|
|
238
|
+
"nodeType": null,
|
|
239
|
+
"messageId": "unusedVar",
|
|
240
|
+
"endLine": 11,
|
|
241
|
+
"endColumn": 75
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
245
|
+
"severity": 2,
|
|
246
|
+
"message": "'key' is defined but never used.",
|
|
247
|
+
"line": 33,
|
|
248
|
+
"column": 28,
|
|
249
|
+
"nodeType": null,
|
|
250
|
+
"messageId": "unusedVar",
|
|
251
|
+
"endLine": 33,
|
|
252
|
+
"endColumn": 31
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
256
|
+
"severity": 2,
|
|
257
|
+
"message": "'pm' is defined but never used.",
|
|
258
|
+
"line": 33,
|
|
259
|
+
"column": 33,
|
|
260
|
+
"nodeType": null,
|
|
261
|
+
"messageId": "unusedVar",
|
|
262
|
+
"endLine": 33,
|
|
263
|
+
"endColumn": 35
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
267
|
+
"severity": 2,
|
|
268
|
+
"message": "'store' is defined but never used.",
|
|
269
|
+
"line": 34,
|
|
270
|
+
"column": 20,
|
|
271
|
+
"nodeType": null,
|
|
272
|
+
"messageId": "unusedVar",
|
|
273
|
+
"endLine": 34,
|
|
274
|
+
"endColumn": 25
|
|
275
|
+
},
|
|
276
|
+
{
|
|
277
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
278
|
+
"severity": 2,
|
|
279
|
+
"message": "'pm' is defined but never used.",
|
|
280
|
+
"line": 34,
|
|
281
|
+
"column": 27,
|
|
282
|
+
"nodeType": null,
|
|
283
|
+
"messageId": "unusedVar",
|
|
284
|
+
"endLine": 34,
|
|
285
|
+
"endColumn": 29
|
|
286
|
+
}
|
|
287
|
+
],
|
|
288
|
+
"suppressedMessages": [],
|
|
289
|
+
"errorCount": 8,
|
|
290
|
+
"fatalErrorCount": 0,
|
|
291
|
+
"warningCount": 0,
|
|
292
|
+
"fixableErrorCount": 0,
|
|
293
|
+
"fixableWarningCount": 0,
|
|
294
|
+
"usedDeprecatedRules": []
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
"filePath": "/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts",
|
|
298
|
+
"messages": [
|
|
299
|
+
{
|
|
300
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
301
|
+
"severity": 2,
|
|
302
|
+
"message": "'Check' is defined but never used.",
|
|
303
|
+
"line": 9,
|
|
304
|
+
"column": 3,
|
|
305
|
+
"nodeType": null,
|
|
306
|
+
"messageId": "unusedVar",
|
|
307
|
+
"endLine": 9,
|
|
308
|
+
"endColumn": 8
|
|
309
|
+
}
|
|
310
|
+
],
|
|
311
|
+
"suppressedMessages": [],
|
|
312
|
+
"errorCount": 1,
|
|
313
|
+
"fatalErrorCount": 0,
|
|
314
|
+
"warningCount": 0,
|
|
315
|
+
"fixableErrorCount": 0,
|
|
316
|
+
"fixableWarningCount": 0,
|
|
317
|
+
"usedDeprecatedRules": []
|
|
318
|
+
}
|
|
319
|
+
]
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Fix the failing tests described in testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json and testeranto/reports/allTests/src/lib/pmProxy.test/index/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,10 @@
|
|
|
1
|
+
|
|
2
|
+
/add src/lib/pmProxy.test/implementation.ts
|
|
3
|
+
/add src/lib/pmProxy.test/specification.ts
|
|
4
|
+
/add src/lib/pmProxy.test/interface.ts
|
|
5
|
+
/add src/lib/pmProxy.test/index.ts
|
|
6
|
+
|
|
7
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json
|
|
8
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/console_log.txt
|
|
9
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt
|
|
10
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/lint_errors.json
|
|
@@ -0,0 +1,64 @@
|
|
|
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/lib/pmProxy.test/implementation.ts (21,5): Type '(method: IProxiedFunctions, expectedPath: string) => (store: { butThenProxy: IProxy; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(It_0: IProxiedFunctions, It_1: string) => (ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
|
|
18
|
+
Type '(store: { butThenProxy: IProxy; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
|
|
19
|
+
Types of parameters 'store' and 'ssel' are incompatible.
|
|
20
|
+
Property 'butThenProxy' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ butThenProxy: IProxy; }'.
|
|
21
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (44,35): Property 'getLastCall' does not exist on type 'IPM'.
|
|
22
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
23
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (45,38): Property 'getLastCall' does not exist on type 'IPM'.
|
|
24
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
25
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (52,35): Property 'getLastCall' does not exist on type 'IPM'.
|
|
26
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
27
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (58,19): Type '"screen.png"' is not assignable to type '`${string}.webm`'.
|
|
28
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (64,35): Property 'getLastCall' does not exist on type 'IPM'.
|
|
29
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
30
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (65,38): Property 'getLastCall' does not exist on type 'IPM'.
|
|
31
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
32
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (70,19): Type '"shot.png"' is not assignable to type '`${string}.webm`'.
|
|
33
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (73,35): Property 'getLastCall' does not exist on type 'IPM'.
|
|
34
|
+
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
35
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/implementation.ts (102,5): Type '(s: string) => string' is not assignable to type '() => [string, string]'.
|
|
36
|
+
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
|
37
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/index.ts (17,3): Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, never>'.
|
|
38
|
+
The types returned by 'givens.SomeBaseString(...)' are incompatible between these types.
|
|
39
|
+
Type 'string' is not assignable to type '[string, string]'.
|
|
40
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts (11,3): Type '(subject: { proxies: import("/Users/adam/Code/testeranto/src/lib/pmProxy.test/index").ITestProxies; filepath: string; mockPm: import("/Users/adam/Code/testeranto/src/lib/types").IPM; }, initializer: (c?: any) => [...], testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ini...' is not assignable to type '(subject: { proxies: import("/Users/adam/Code/testeranto/src/lib/pmProxy.test/index").ITestProxies; filepath: string; mockPm: import("/Users/adam/Code/testeranto/src/lib/types").IPM; }, initializer: (c?: any) => [...], testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, ini...'. Two different types with this name exist, but they are unrelated.
|
|
41
|
+
Type 'Promise<{ proxies: ITestProxies; filepath: string; mockPm: IPM; }>' is not assignable to type 'Promise<{ butThenProxy: IProxy; }>'.
|
|
42
|
+
Property 'butThenProxy' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ butThenProxy: IProxy; }'.
|
|
43
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts (22,3): Type '(store: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }, whenCB: (...args: any[]) => (proxies: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }) => { ...; }, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, p...' is not assignable to type '(store: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }, whenCB: (...args: any[]) => (proxies: { butThenProxy: import("/Users/adam/Code/testeranto/src/lib/pmProxy").IProxy; }) => { ...; }, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, p...'. Two different types with this name exist, but they are unrelated.
|
|
44
|
+
Type 'Promise<(proxies: { butThenProxy: IProxy; }) => { butThenProxy: IProxy; }>' is not assignable to type 'Promise<{ butThenProxy: IProxy; }>'.
|
|
45
|
+
Type '(proxies: { butThenProxy: IProxy; }) => { butThenProxy: IProxy; }' is not assignable to type '{ butThenProxy: IProxy; }'.
|
|
46
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts (30,12): This expression is not callable.
|
|
47
|
+
Type '[IPM, "string"]' has no call signatures.
|
|
48
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts (35,3): Type '(input: any, testResource: any, pm: any, theGivenString: any) => Promise<{ beforeEachProxy: any; }>' is not assignable to type '(input: { butThenProxy: IProxy; }, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<{ proxies: ITestProxies; filepath: string; mockPm: IPM; }>'.
|
|
49
|
+
Target signature provides too few arguments. Expected 4 or more, but got 3.
|
|
50
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/interface.ts (44,3): Type '(returnedFilePath: any, expectation: any) => void' is not assignable to type '(x: [IPM, "string"]) => any'.
|
|
51
|
+
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
52
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (11,9): Expected 3 arguments, but got 2.
|
|
53
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (59,9): Expected 3 arguments, but got 2.
|
|
54
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (87,9): Expected 3 arguments, but got 2.
|
|
55
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (94,14): Property 'verifyContent' does not exist on type 'ThenSpecification<I, O>'.
|
|
56
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (103,14): Property 'verifyContent' does not exist on type 'ThenSpecification<I, O>'.
|
|
57
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (109,9): Expected 3 arguments, but got 2.
|
|
58
|
+
/Users/adam/Code/testeranto/src/lib/pmProxy.test/specification.ts (119,52): Argument of type 'undefined' is not assignable to parameter of type 'string'.
|
|
59
|
+
/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 & { ...; }'.
|
|
60
|
+
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
|
|
61
|
+
/Users/adam/Code/testeranto/src/Node.ts (58,26): Cannot find name 'INodeTestInterface'. Did you mean 'ITestInterface'?
|
|
62
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
63
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
64
|
+
/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,44 @@
|
|
|
1
|
+
stdout > Suite { TheMothership: [Function (anonymous)] }
|
|
2
|
+
stdout > MARK9 TypeError: fullTestInterface.andWhen is not a function
|
|
3
|
+
at When.andWhen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:739:42)
|
|
4
|
+
at When.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:306:23)
|
|
5
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:253:24)
|
|
6
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
7
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
8
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
9
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
10
|
+
at async NodeTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:223:12)
|
|
11
|
+
at async testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:239:15)
|
|
12
|
+
stderr > afterEach failed! TypeError: fullTestInterface.afterEach is not a function
|
|
13
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:733:44
|
|
14
|
+
at new Promise (<anonymous>)
|
|
15
|
+
at Given.afterEach (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:732:18)
|
|
16
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:277:20)
|
|
17
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
18
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
19
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
20
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
21
|
+
at async NodeTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:223:12)
|
|
22
|
+
at async testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:239:15)
|
|
23
|
+
stderr > Given error: TypeError: fullTestInterface.afterEach is not a function
|
|
24
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:733:44
|
|
25
|
+
at new Promise (<anonymous>)
|
|
26
|
+
at Given.afterEach (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:732:18)
|
|
27
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:277:20)
|
|
28
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
29
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
30
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
31
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
32
|
+
at async NodeTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:223:12)
|
|
33
|
+
at async testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:239:15)
|
|
34
|
+
stderr > goodbye node with caught error TypeError: fullTestInterface.afterEach is not a function
|
|
35
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:733:44
|
|
36
|
+
at new Promise (<anonymous>)
|
|
37
|
+
at Given.afterEach (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:732:18)
|
|
38
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:277:20)
|
|
39
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
40
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:622:20)
|
|
41
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:411:19
|
|
42
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:439:29)
|
|
43
|
+
at async NodeTesteranto.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:223:12)
|
|
44
|
+
at async testeranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-W44DUDBK.mjs:239:15)
|
|
File without changes
|