testeranto 0.140.2 → 0.146.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aider.chat.history.md +11006 -0
- package/.aider.input.history +441 -0
- package/.aider.tags.cache.v3/06/1a/1ec9fd1f595d4b36094caef45894.val +0 -0
- package/.aider.tags.cache.v3/0f/f6/f42b5108253d75de3cb6286df7f6.val +0 -0
- package/.aider.tags.cache.v3/{ad/3c/10f2ab1397f6d544e613d2a6acaf.val → 3d/81/8b6f0e9b98ec2952cdb8968ac386.val} +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/{a7/97/6d37fce350ad2d588f36729db0cd.val → d6/7d/1820c2d4b9330eab7017da4515e7.val} +0 -0
- package/README.md +15 -16
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/docs/aiderTest.sh +1 -0
- package/docs/index.md +45 -33
- package/docs/testing.ai.txt +98 -0
- package/docs/testing.prompt.txt +8 -0
- package/package.json +3 -3
- package/src/Node.ts +17 -13
- package/src/PM/PM_WithEslintAndTsc.ts +83 -67
- package/src/PM/main.ts +182 -92
- package/src/PM/node.ts +1 -15
- package/src/PM/nodeSidecar.ts +0 -1
- package/src/Pure.test.ts +299 -0
- package/src/Pure.ts +20 -2
- package/src/Types.ts +5 -5
- package/src/Web.ts +1 -1
- package/src/build.ts +0 -1
- package/src/esbuildConfigs/consoleDetectorPlugin.ts +28 -14
- package/src/esbuildConfigs/nativeImportDetectorPlugin.ts +26 -0
- package/src/esbuildConfigs/pure.ts +3 -1
- package/src/esbuildConfigs/rebuildPlugin.ts +1 -4
- package/src/lib/BaseSuite.test/node.test.ts +12 -0
- package/src/lib/BaseSuite.test/pure.test.ts +12 -0
- package/src/lib/{BaseSuite.test.ts → BaseSuite.test/test.ts} +36 -27
- package/src/lib/BaseSuite.test/web.test.ts +12 -0
- package/src/lib/BaseSuite.ts +17 -15
- 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/abstractBase.ts +0 -2
- package/src/lib/baseBuilder.test/TestBaseBuilder.ts +83 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +134 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.interface.ts +18 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.node.ts +14 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.pure.ts +14 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.specification.ts +35 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.types.ts +36 -0
- package/src/lib/baseBuilder.test/baseBuilder.test.web.ts +14 -0
- package/src/lib/basebuilder.ts +2 -1
- package/src/lib/classBuilder.test/TestClassBuilder.ts +88 -0
- package/src/lib/classBuilder.test/classBuilder.test.implementation.ts +204 -0
- package/src/lib/classBuilder.test/classBuilder.test.interface.ts +18 -0
- package/src/lib/classBuilder.test/classBuilder.test.specification.ts +113 -0
- package/src/lib/classBuilder.test/classBuilder.test.ts +14 -0
- package/src/lib/classBuilder.test/classBuilder.test.types.ts +84 -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 -11
- 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 +46 -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/src/run.ts +7 -7
- package/testeranto/bundles/node/allTests/chunk-NQBTLMSG.mjs +254 -0
- package/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs +765 -0
- package/testeranto/bundles/node/allTests/chunk-YZWFKYY3.mjs +171 -0
- package/testeranto/bundles/node/allTests/metafile.json +628 -3567
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test/node.test.mjs +325 -0
- package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +226 -0
- package/testeranto/bundles/node/allTests/src/lib/classBuilder.test/classBuilder.test.mjs +408 -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 +4587 -0
- package/testeranto/bundles/{node/allTests/chunk-4PJCC2XT.mjs → pure/allTests/chunk-W22WOQNK.mjs} +208 -326
- package/testeranto/bundles/pure/allTests/metafile.json +732 -3
- package/testeranto/bundles/pure/allTests/src/Pure.test.mjs +369 -0
- package/testeranto/bundles/{node/allTests/src/lib/BaseSuite.test.mjs → pure/allTests/src/lib/BaseSuite.test/pure.test.mjs} +26 -8
- package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +224 -0
- package/testeranto/bundles/web/allTests/chunk-FIZ3WLUB.mjs +943 -0
- package/testeranto/bundles/web/allTests/metafile.json +1133 -2
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.html +19 -0
- package/testeranto/bundles/web/allTests/src/lib/BaseSuite.test/web.test.mjs +322 -0
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.html +19 -0
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +10964 -0
- package/testeranto/index.html +1 -1
- package/testeranto/reports/allTests/config.json +50 -11
- package/testeranto/reports/allTests/index.html +1 -1
- package/testeranto/reports/allTests/src/Pure.test/pure/lint_errors.json +1539 -0
- package/testeranto/reports/allTests/src/Pure.test/pure/logs.txt +11 -0
- package/testeranto/reports/allTests/src/Pure.test/pure/message +1 -0
- package/testeranto/reports/allTests/src/Pure.test/pure/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/{PM/__tests__/pureSidecar.testeranto/node → Pure.test/pure}/type_errors.txt +18 -14
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/lint_errors.json +620 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/logs.txt +12 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node.test/node/type_errors.txt +94 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/lint_errors.json +620 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/logs.txt +11 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/message +1 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +104 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/{node → web.test/web}/lint_errors.json +69 -57
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/logs.txt +10 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/message +1 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/web.test/web/type_errors.txt +95 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.json +966 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +57 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/bdd_errors.txt +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.json +966 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/log.txt +0 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/tests.json +57 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +57 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/bdd_errors.txt +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/dev.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.json +966 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/log.txt +0 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +0 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/message +1 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +11 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +57 -0
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +48 -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 +791 -0
- package/testeranto/reports/allTests/src/lib/classBuilder.test/classBuilder.test/node/logs.txt +12 -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 +55 -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/logs.txt +17 -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 +65 -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 +1724 -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/logs.txt +30 -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 +11 -0
- package/testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt +64 -0
- package/testeranto/reports/allTests/summary.json +59 -24
- package/testeranto.config.ts +37 -12
- package/tsc.log +273 -27
- package/testeranto/bundles/node/allTests/chunk-PG6KUKNP.mjs +0 -44
- package/testeranto/bundles/node/allTests/src/PM/__tests__/nodeSidecar.testeranto.mjs +0 -187
- package/testeranto/bundles/node/allTests/src/PM/__tests__/pureSidecar.testeranto.mjs +0 -156
- package/testeranto/bundles/node/allTests/src/PM/__tests__/webSidecar.testeranto.mjs +0 -156
- package/testeranto/bundles/node/allTests/src/mothership/test.mjs +0 -24411
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/index.html +0 -21
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +0 -80
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/message +0 -1
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +0 -8
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +0 -28
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/index.html +0 -21
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +0 -80
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/message +0 -1
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +0 -8
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/index.html +0 -21
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +0 -80
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/message +0 -1
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +0 -8
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +0 -32
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/console_log.txt +0 -35
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/index.html +0 -21
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/message +0 -1
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/prompt.txt +0 -7
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/type_errors.txt +0 -68
- package/testeranto/reports/allTests/src/mothership/test/node/index.html +0 -21
- package/testeranto/reports/allTests/src/mothership/test/node/lint_errors.json +0 -1
- package/testeranto/reports/allTests/src/mothership/test/node/message +0 -1
- package/testeranto/reports/allTests/src/mothership/test/node/prompt.txt +0 -8
- package/testeranto/reports/allTests/src/mothership/test/node/type_errors.txt +0 -24
- /package/testeranto/reports/allTests/src/{PM/__tests__/nodeSidecar.testeranto/node → Pure.test/pure}/dev.html +0 -0
- /package/testeranto/reports/allTests/src/{PM/__tests__/pureSidecar.testeranto/node/dev.html → Pure.test/pure/index.html} +0 -0
- /package/testeranto/reports/allTests/src/{PM/__tests__/webSidecar.testeranto → lib/BaseSuite.test/node.test}/node/dev.html +0 -0
- /package/testeranto/reports/allTests/src/lib/BaseSuite.test/{node/dev.html → node.test/node/index.html} +0 -0
- /package/testeranto/reports/allTests/src/{mothership/test/node → lib/BaseSuite.test/pure.test/pure}/dev.html +0 -0
- /package/testeranto/reports/allTests/src/lib/{BaseSuite.test/node/log.txt → baseBuilder.test/baseBuilder.test.node/node/logs.txt} +0 -0
|
File without changes
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
stdout > mark4
|
|
2
|
+
args [
|
|
3
|
+
'/Users/adam/.nvm/versions/node/v20.4.0/bin/node',
|
|
4
|
+
'/Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs',
|
|
5
|
+
'{"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/3bc6c3d8-8947-40e9-96c7-53ef79166410"}',
|
|
6
|
+
'/tmp/tpipe_0.6565458683998961'
|
|
7
|
+
]
|
|
8
|
+
receiveTestResourceConfig {"name":"src/lib/pmProxy.test/index.ts","ports":[],"fs":"testeranto/reports/allTests/src/lib/pmProxy.test/index/node","browserWSEndpoint":"ws://127.0.0.1:3234/devtools/browser/3bc6c3d8-8947-40e9-96c7-53ef79166410"}
|
|
9
|
+
stderr > Given error 1: TypeError: store.butThenProxy is not a function
|
|
10
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:137:31)
|
|
11
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:606:29
|
|
12
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:4313:12)
|
|
13
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:715:42)
|
|
14
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:601:17)
|
|
15
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:533:34)
|
|
16
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
17
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:393:20)
|
|
18
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:182:19
|
|
19
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:210:29)
|
|
20
|
+
goodbye node with caught error TypeError: store.butThenProxy is not a function
|
|
21
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:137:31)
|
|
22
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:606:29
|
|
23
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/pmProxy.test/index.mjs:4313:12)
|
|
24
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:715:42)
|
|
25
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:601:17)
|
|
26
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:533:34)
|
|
27
|
+
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
28
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:393:20)
|
|
29
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:182:19
|
|
30
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-RF3LIUSG.mjs:210:29)
|
|
@@ -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/logs.txt. DO NOT refactor beyond what is necessary. Always prefer minimal changes, focusing mostly on keeping the BDD tests passing
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
/add src/lib/pmProxy.test/mockPMBase.ts
|
|
3
|
+
/add src/lib/pmProxy.test/implementation.ts
|
|
4
|
+
/add src/lib/pmProxy.test/specification.ts
|
|
5
|
+
/add src/lib/pmProxy.test/interface.ts
|
|
6
|
+
/add src/lib/pmProxy.test/index.ts
|
|
7
|
+
|
|
8
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/tests.json
|
|
9
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/logs.txt
|
|
10
|
+
/read testeranto/reports/allTests/src/lib/pmProxy.test/index/node/type_errors.txt
|
|
11
|
+
/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 (29,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 (34,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 (43,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 (36,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 (61,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'?
|
|
@@ -1,37 +1,72 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node
|
|
2
|
+
"src/lib/BaseSuite.test/node.test.ts": {
|
|
3
|
+
"typeErrors": 57,
|
|
4
|
+
"staticErrors": 2,
|
|
5
|
+
"runTimeErrors": -1,
|
|
6
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/src/lib/BaseSuite.test/node.test/prompt.txt",
|
|
7
7
|
"failingFeatures": {}
|
|
8
8
|
},
|
|
9
|
-
"
|
|
10
|
-
"
|
|
9
|
+
"src/lib/BaseSuite.test/pure.test.ts": {
|
|
10
|
+
"typeErrors": 58,
|
|
11
|
+
"staticErrors": 2,
|
|
12
|
+
"runTimeErrors": -1,
|
|
13
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/pure/src/lib/BaseSuite.test/pure.test/prompt.txt",
|
|
14
|
+
"failingFeatures": {}
|
|
15
|
+
},
|
|
16
|
+
"src/lib/BaseSuite.test/web.test.ts": {
|
|
17
|
+
"typeErrors": 58,
|
|
18
|
+
"staticErrors": 2,
|
|
19
|
+
"runTimeErrors": -1,
|
|
20
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/web/src/lib/BaseSuite.test/web.test/prompt.txt",
|
|
21
|
+
"failingFeatures": {}
|
|
22
|
+
},
|
|
23
|
+
"src/Pure.test.ts": {
|
|
11
24
|
"typeErrors": 14,
|
|
12
|
-
"staticErrors":
|
|
13
|
-
"
|
|
25
|
+
"staticErrors": 2,
|
|
26
|
+
"runTimeErrors": -1,
|
|
27
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/pure/src/Pure.test/prompt.txt",
|
|
28
|
+
"failingFeatures": {}
|
|
29
|
+
},
|
|
30
|
+
"src/lib/pmProxy.test/index.ts": {
|
|
31
|
+
"typeErrors": 35,
|
|
32
|
+
"staticErrors": 5,
|
|
33
|
+
"runTimeErrors": -1,
|
|
34
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/src/lib/pmProxy.test/index/prompt.txt",
|
|
35
|
+
"failingFeatures": {}
|
|
36
|
+
},
|
|
37
|
+
"src/lib/core.test/core.test.ts": {
|
|
38
|
+
"typeErrors": 41,
|
|
39
|
+
"staticErrors": 4,
|
|
40
|
+
"runTimeErrors": 1,
|
|
41
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/src/lib/core.test/core.test/prompt.txt",
|
|
42
|
+
"failingFeatures": {}
|
|
43
|
+
},
|
|
44
|
+
"src/lib/classBuilder.test/classBuilder.test.ts": {
|
|
45
|
+
"typeErrors": 38,
|
|
46
|
+
"staticErrors": 3,
|
|
47
|
+
"runTimeErrors": -1,
|
|
48
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/src/lib/classBuilder.test/classBuilder.test/prompt.txt",
|
|
14
49
|
"failingFeatures": {}
|
|
15
50
|
},
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node
|
|
51
|
+
"src/lib/baseBuilder.test/baseBuilder.test.node.ts": {
|
|
52
|
+
"typeErrors": 29,
|
|
53
|
+
"staticErrors": 5,
|
|
54
|
+
"runTimeErrors": 0,
|
|
55
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/node/src/lib/baseBuilder.test/baseBuilder.test.node/prompt.txt",
|
|
21
56
|
"failingFeatures": {}
|
|
22
57
|
},
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/
|
|
58
|
+
"src/lib/baseBuilder.test/baseBuilder.test.pure.ts": {
|
|
59
|
+
"typeErrors": 29,
|
|
60
|
+
"staticErrors": 5,
|
|
61
|
+
"runTimeErrors": 0,
|
|
62
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/pure/src/lib/baseBuilder.test/baseBuilder.test.pure/prompt.txt",
|
|
28
63
|
"failingFeatures": {}
|
|
29
64
|
},
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/
|
|
65
|
+
"src/lib/baseBuilder.test/baseBuilder.test.web.ts": {
|
|
66
|
+
"typeErrors": 29,
|
|
67
|
+
"staticErrors": 5,
|
|
68
|
+
"runTimeErrors": 0,
|
|
69
|
+
"prompt": "aider --model deepseek/deepseek-chat --load testeranto/allTests/reports/web/src/lib/baseBuilder.test/baseBuilder.test.web/prompt.txt",
|
|
35
70
|
"failingFeatures": {}
|
|
36
71
|
}
|
|
37
72
|
}
|
package/testeranto.config.ts
CHANGED
|
@@ -4,32 +4,57 @@ const config: IProject = {
|
|
|
4
4
|
projects: {
|
|
5
5
|
allTests: {
|
|
6
6
|
tests: [
|
|
7
|
-
["
|
|
8
|
-
|
|
9
|
-
["
|
|
7
|
+
["src/lib/BaseSuite.test/node.test.ts", "node", { ports: 0 }, []],
|
|
8
|
+
["src/lib/BaseSuite.test/pure.test.ts", "pure", { ports: 0 }, []],
|
|
9
|
+
["src/lib/BaseSuite.test/web.test.ts", "web", { ports: 0 }, []],
|
|
10
|
+
["src/Pure.test.ts", "pure", { ports: 0 }, []],
|
|
11
|
+
["src/lib/pmProxy.test/index.ts", "node", { ports: 0 }, []],
|
|
12
|
+
["src/lib/core.test/core.test.ts", "node", { ports: 0 }, []],
|
|
10
13
|
[
|
|
11
|
-
"
|
|
14
|
+
"src/lib/classBuilder.test/classBuilder.test.ts",
|
|
12
15
|
"node",
|
|
13
|
-
{ ports:
|
|
16
|
+
{ ports: 0 },
|
|
14
17
|
[],
|
|
15
18
|
],
|
|
19
|
+
|
|
16
20
|
[
|
|
17
|
-
"
|
|
21
|
+
"src/lib/baseBuilder.test/baseBuilder.test.node.ts",
|
|
18
22
|
"node",
|
|
19
|
-
{ ports:
|
|
23
|
+
{ ports: 0 },
|
|
20
24
|
[],
|
|
21
25
|
],
|
|
22
26
|
[
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
{ ports:
|
|
27
|
+
"src/lib/baseBuilder.test/baseBuilder.test.pure.ts",
|
|
28
|
+
"pure",
|
|
29
|
+
{ ports: 0 },
|
|
26
30
|
[],
|
|
27
31
|
],
|
|
32
|
+
[
|
|
33
|
+
"src/lib/baseBuilder.test/baseBuilder.test.web.ts",
|
|
34
|
+
"web",
|
|
35
|
+
{ ports: 0 },
|
|
36
|
+
[],
|
|
37
|
+
],
|
|
38
|
+
|
|
39
|
+
// ["src/mothership/test.ts", "node", { ports: 0 }, []],
|
|
40
|
+
// ["./src/lib/abstractBase/index.ts", "node", { ports: 0 }, []],
|
|
41
|
+
// [
|
|
42
|
+
// "src/PM/__tests__/nodeSidecar.testeranto.ts",
|
|
43
|
+
// "node",
|
|
44
|
+
// { ports: 1 },
|
|
45
|
+
// [],
|
|
46
|
+
// ],
|
|
47
|
+
// [
|
|
48
|
+
// "src/PM/__tests__/pureSidecar.testeranto.ts",
|
|
49
|
+
// "node",
|
|
50
|
+
// { ports: 1 },
|
|
51
|
+
// [],
|
|
52
|
+
// ],
|
|
53
|
+
// ["src/PM/__tests__/webSidecar.testeranto.ts", "node", { ports: 1 }, []],
|
|
28
54
|
],
|
|
29
55
|
clearScreen: false,
|
|
30
56
|
debugger: false,
|
|
31
57
|
externals: [],
|
|
32
|
-
externalTests: {},
|
|
33
58
|
featureIngestor: function (s: string): Promise<string> {
|
|
34
59
|
throw new Error("Function not implemented.");
|
|
35
60
|
},
|
|
@@ -78,8 +103,8 @@ const config: IProject = {
|
|
|
78
103
|
webPlugins: [],
|
|
79
104
|
nodePlugins: [],
|
|
80
105
|
importPlugins: [],
|
|
81
|
-
externalTests: {},
|
|
82
106
|
},
|
|
83
107
|
},
|
|
108
|
+
reportDomain: "",
|
|
84
109
|
};
|
|
85
110
|
export default config;
|