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
|
@@ -1,10 +1,12 @@
|
|
|
1
1
|
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
|
-
Node_default
|
|
3
|
+
Node_default
|
|
4
|
+
} from "../../chunk-W44DUDBK.mjs";
|
|
5
|
+
import {
|
|
4
6
|
__commonJS,
|
|
5
7
|
__require,
|
|
6
8
|
__toESM
|
|
7
|
-
} from "../../chunk-
|
|
9
|
+
} from "../../chunk-UED26IMH.mjs";
|
|
8
10
|
|
|
9
11
|
// node_modules/depd/index.js
|
|
10
12
|
var require_depd = __commonJS({
|
|
@@ -1,5 +1,45 @@
|
|
|
1
1
|
{
|
|
2
2
|
"tests": [
|
|
3
|
+
[
|
|
4
|
+
"src/Pure.test.ts",
|
|
5
|
+
"node",
|
|
6
|
+
{
|
|
7
|
+
"ports": 1
|
|
8
|
+
},
|
|
9
|
+
[]
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
"src/lib/pmProxy.test/index.ts",
|
|
13
|
+
"node",
|
|
14
|
+
{
|
|
15
|
+
"ports": 1
|
|
16
|
+
},
|
|
17
|
+
[]
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"src/lib/core.test/core.test.ts",
|
|
21
|
+
"node",
|
|
22
|
+
{
|
|
23
|
+
"ports": 1
|
|
24
|
+
},
|
|
25
|
+
[]
|
|
26
|
+
],
|
|
27
|
+
[
|
|
28
|
+
"src/lib/classBuilder.test/classBuilder.test.ts",
|
|
29
|
+
"node",
|
|
30
|
+
{
|
|
31
|
+
"ports": 1
|
|
32
|
+
},
|
|
33
|
+
[]
|
|
34
|
+
],
|
|
35
|
+
[
|
|
36
|
+
"src/lib/baseBuilder.test/baseBuilder.test.ts",
|
|
37
|
+
"node",
|
|
38
|
+
{
|
|
39
|
+
"ports": 1
|
|
40
|
+
},
|
|
41
|
+
[]
|
|
42
|
+
],
|
|
3
43
|
[
|
|
4
44
|
"./src/lib/BaseSuite.test.ts",
|
|
5
45
|
"node",
|
|
@@ -44,7 +84,6 @@
|
|
|
44
84
|
"clearScreen": false,
|
|
45
85
|
"debugger": false,
|
|
46
86
|
"externals": [],
|
|
47
|
-
"externalTests": {},
|
|
48
87
|
"importPlugins": [],
|
|
49
88
|
"minify": false,
|
|
50
89
|
"nodePlugins": [],
|
package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/console_log.txt
ADDED
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
stderr > file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/Pure.test.mjs:212
|
|
2
|
+
Then.initializedProperly(),
|
|
3
|
+
^
|
|
4
|
+
|
|
5
|
+
TypeError: Then.initializedProperly is not a function
|
|
6
|
+
at specification (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/Pure.test.mjs:212:14)
|
|
7
|
+
at new BaseBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:402:18)
|
|
8
|
+
at new ClassBuilder (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:560:5)
|
|
9
|
+
at new TesterantoCore (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-UED26IMH.mjs:697:5)
|
|
10
|
+
at new PureTesteranto (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-KYSOR62N.mjs:139:5)
|
|
11
|
+
at Pure_default (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-KYSOR62N.mjs:156:10)
|
|
12
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/Pure.test.mjs:252:25
|
|
13
|
+
at ModuleJob.run (node:internal/modules/esm/module_job:192:25)
|
|
14
|
+
at async DefaultModuleLoader.import (node:internal/modules/esm/loader:228:24)
|
|
15
|
+
at async loadESM (node:internal/process/esm_loader:40:7)
|
|
16
|
+
|
|
17
|
+
Node.js v20.4.0
|
|
@@ -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,134 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"filePath": "/Users/adam/Code/testeranto/src/Pure.test.ts",
|
|
4
|
+
"messages": [
|
|
5
|
+
{
|
|
6
|
+
"ruleId": "@typescript-eslint/no-explicit-any",
|
|
7
|
+
"severity": 2,
|
|
8
|
+
"message": "Unexpected any. Specify a different type.",
|
|
9
|
+
"line": 22,
|
|
10
|
+
"column": 26,
|
|
11
|
+
"nodeType": "TSAnyKeyword",
|
|
12
|
+
"messageId": "unexpectedAny",
|
|
13
|
+
"endLine": 22,
|
|
14
|
+
"endColumn": 29,
|
|
15
|
+
"suggestions": [
|
|
16
|
+
{
|
|
17
|
+
"messageId": "suggestUnknown",
|
|
18
|
+
"fix": {
|
|
19
|
+
"range": [
|
|
20
|
+
716,
|
|
21
|
+
719
|
|
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
|
+
716,
|
|
32
|
+
719
|
|
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": "@typescript-eslint/no-unused-vars",
|
|
42
|
+
"severity": 2,
|
|
43
|
+
"message": "'result' is assigned a value but never used.",
|
|
44
|
+
"line": 91,
|
|
45
|
+
"column": 13,
|
|
46
|
+
"nodeType": null,
|
|
47
|
+
"messageId": "unusedVar",
|
|
48
|
+
"endLine": 91,
|
|
49
|
+
"endColumn": 19
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
53
|
+
"severity": 2,
|
|
54
|
+
"message": "'Check' is defined but never used.",
|
|
55
|
+
"line": 141,
|
|
56
|
+
"column": 50,
|
|
57
|
+
"nodeType": null,
|
|
58
|
+
"messageId": "unusedVar",
|
|
59
|
+
"endLine": 141,
|
|
60
|
+
"endColumn": 55
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
64
|
+
"severity": 2,
|
|
65
|
+
"message": "'input' is defined but never used.",
|
|
66
|
+
"line": 289,
|
|
67
|
+
"column": 21,
|
|
68
|
+
"nodeType": null,
|
|
69
|
+
"messageId": "unusedVar",
|
|
70
|
+
"endLine": 289,
|
|
71
|
+
"endColumn": 26
|
|
72
|
+
},
|
|
73
|
+
{
|
|
74
|
+
"ruleId": "@typescript-eslint/no-unused-vars",
|
|
75
|
+
"severity": 2,
|
|
76
|
+
"message": "'testResource' is defined but never used.",
|
|
77
|
+
"line": 289,
|
|
78
|
+
"column": 28,
|
|
79
|
+
"nodeType": null,
|
|
80
|
+
"messageId": "unusedVar",
|
|
81
|
+
"endLine": 289,
|
|
82
|
+
"endColumn": 40
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"ruleId": "@typescript-eslint/no-empty-object-type",
|
|
86
|
+
"severity": 2,
|
|
87
|
+
"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.",
|
|
88
|
+
"line": 294,
|
|
89
|
+
"column": 45,
|
|
90
|
+
"nodeType": "TSTypeLiteral",
|
|
91
|
+
"messageId": "noEmptyObject",
|
|
92
|
+
"endLine": 294,
|
|
93
|
+
"endColumn": 47,
|
|
94
|
+
"suggestions": [
|
|
95
|
+
{
|
|
96
|
+
"messageId": "replaceEmptyObjectType",
|
|
97
|
+
"data": {
|
|
98
|
+
"replacement": "object"
|
|
99
|
+
},
|
|
100
|
+
"fix": {
|
|
101
|
+
"range": [
|
|
102
|
+
8658,
|
|
103
|
+
8660
|
|
104
|
+
],
|
|
105
|
+
"text": "object"
|
|
106
|
+
},
|
|
107
|
+
"desc": "Replace `{}` with `object`."
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"messageId": "replaceEmptyObjectType",
|
|
111
|
+
"data": {
|
|
112
|
+
"replacement": "unknown"
|
|
113
|
+
},
|
|
114
|
+
"fix": {
|
|
115
|
+
"range": [
|
|
116
|
+
8658,
|
|
117
|
+
8660
|
|
118
|
+
],
|
|
119
|
+
"text": "unknown"
|
|
120
|
+
},
|
|
121
|
+
"desc": "Replace `{}` with `unknown`."
|
|
122
|
+
}
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
],
|
|
126
|
+
"suppressedMessages": [],
|
|
127
|
+
"errorCount": 6,
|
|
128
|
+
"fatalErrorCount": 0,
|
|
129
|
+
"warningCount": 0,
|
|
130
|
+
"fixableErrorCount": 0,
|
|
131
|
+
"fixableWarningCount": 0,
|
|
132
|
+
"usedDeprecatedRules": []
|
|
133
|
+
}
|
|
134
|
+
]
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Fix the failing tests described in testeranto/reports/allTests/src/Pure.test/node/tests.json and testeranto/reports/allTests/src/Pure.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,7 @@
|
|
|
1
|
+
|
|
2
|
+
/add src/Pure.test.ts
|
|
3
|
+
|
|
4
|
+
/read testeranto/reports/allTests/src/Pure.test/node/tests.json
|
|
5
|
+
/read testeranto/reports/allTests/src/Pure.test/node/console_log.txt
|
|
6
|
+
/read testeranto/reports/allTests/src/Pure.test/node/type_errors.txt
|
|
7
|
+
/read testeranto/reports/allTests/src/Pure.test/node/lint_errors.json
|
|
@@ -0,0 +1,26 @@
|
|
|
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/PM/web.ts (56,12): Cannot find name 'opts'.
|
|
18
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (57,57): Cannot find name 'opts'.
|
|
19
|
+
/Users/adam/Code/testeranto/src/PM/web.ts (59,7): Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
20
|
+
/Users/adam/Code/testeranto/src/Pure.test.ts (297,3): Argument of type '{ suites: { Default: string; }; givens: { Default: () => { pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path...' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<PureO>; givens: TestGivenImplementation<PureI, PureO>; whens: TestWhenImplementation<PureI, PureO>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, never>'.
|
|
21
|
+
The types returned by 'checks.Default(...)' are incompatible between these types.
|
|
22
|
+
Type 'IPM' is not assignable to type '() => IPM'.
|
|
23
|
+
Type 'PM_Pure' is not assignable to type '() => IPM'.
|
|
24
|
+
Type 'PM_Pure' provides no match for the signature '(): IPM'.
|
|
25
|
+
/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 & { ...; }'.
|
|
26
|
+
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,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
|
+
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
stderr > Given error: [Function (anonymous)]
|
|
2
2
|
Given error: [Function (anonymous)]
|
|
3
3
|
Given error: Error: Expected 1 errors, got 0
|
|
4
|
-
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
5
|
-
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
6
|
-
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
7
|
-
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
8
|
-
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
9
|
-
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
4
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:254:15)
|
|
5
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:336:29
|
|
6
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:292:55)
|
|
7
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:749:42)
|
|
8
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:331:17)
|
|
9
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:262:34)
|
|
10
10
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
11
|
-
at async
|
|
12
|
-
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
13
|
-
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
11
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:622:20)
|
|
12
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:411:19
|
|
13
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:439:29)
|
|
14
14
|
goodbye node with caught error Error: Expected 1 errors, got 0
|
|
15
|
-
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
16
|
-
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
17
|
-
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
18
|
-
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
19
|
-
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
20
|
-
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
15
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:254:15)
|
|
16
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:336:29
|
|
17
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:292:55)
|
|
18
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:749:42)
|
|
19
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:331:17)
|
|
20
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:262:34)
|
|
21
21
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
22
|
-
at async
|
|
23
|
-
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
24
|
-
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
22
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:622:20)
|
|
23
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:411:19
|
|
24
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:439:29)
|
|
25
25
|
stdout > test failed 3 Error: Expected 1 errors, got 0
|
|
26
|
-
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
27
|
-
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
28
|
-
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:
|
|
29
|
-
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
30
|
-
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
31
|
-
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
26
|
+
at Then.thenCB (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:254:15)
|
|
27
|
+
at file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:336:29
|
|
28
|
+
at Object.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs:292:55)
|
|
29
|
+
at Then.butThen (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:749:42)
|
|
30
|
+
at Then.test (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:331:17)
|
|
31
|
+
at Given.give (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:262:34)
|
|
32
32
|
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
|
|
33
|
-
at async
|
|
34
|
-
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
35
|
-
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-
|
|
33
|
+
at async TesterantoCore.constructor.run (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:622:20)
|
|
34
|
+
at async file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:411:19
|
|
35
|
+
at async Object.receiveTestResourceConfig (file:///Users/adam/Code/testeranto/testeranto/bundles/node/allTests/chunk-DE6DEGPJ.mjs:439:29)
|