testeranto 0.134.0 → 0.140.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.aider.chat.history.md +14577 -0
- package/.aider.input.history +566 -0
- package/.aider.tags.cache.v3/{8d/fa/12860238755bcfab9af8a93c52ab.val → bd/91/b71f967fd074cf4b757081b429b7.val} +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/{18/8b/7dfca822129dad10b5cacadf7728.val → fb/96/b0f91c7e75e08fc5a6907633cf99.val} +0 -0
- package/README.md +29 -423
- package/bundle.js +1 -1
- package/dist/common/src/CoreTypes.js +2 -0
- package/dist/common/src/Init.js +4 -1
- package/dist/common/src/Node.js +1 -1
- package/dist/common/src/PM/PM_WithEslintAndTsc.js +10 -8
- package/dist/common/src/PM/__tests__/nodeSidecar.testeranto.js +2 -2
- package/dist/common/src/PM/main.js +12 -7
- package/dist/common/src/PM/node.js +10 -3
- package/dist/common/src/Web.js +2 -2
- package/dist/common/src/build.js +7 -72
- package/dist/common/src/defaultConfig.js +0 -1
- package/dist/common/src/esbuildConfigs/eslint-formatter-testeranto.js +16 -1
- package/dist/common/src/esbuildConfigs/node.js +2 -16
- package/dist/common/src/esbuildConfigs/pure.js +2 -16
- package/dist/common/src/esbuildConfigs/rebuildPlugin.js +22 -0
- package/dist/common/src/esbuildConfigs/web.js +2 -16
- package/dist/common/src/lib/abstractBase.js +8 -1
- package/dist/common/src/lib/basebuilder.js +4 -0
- package/dist/common/src/lib/classBuilder.js +2 -3
- package/dist/common/src/lib/core.js +2 -0
- package/dist/common/src/run.js +1 -1
- package/dist/common/src/utils/buildTemplates.js +88 -0
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Init.js +4 -1
- package/dist/module/src/Node.js +1 -1
- package/dist/module/src/PM/PM_WithEslintAndTsc.js +10 -8
- package/dist/module/src/PM/__tests__/nodeSidecar.testeranto.js +2 -2
- package/dist/module/src/PM/main.js +12 -7
- package/dist/module/src/PM/node.js +10 -3
- package/dist/module/src/Project.js +41 -47
- package/dist/module/src/TestReport.js +34 -31
- package/dist/module/src/Web.js +2 -2
- package/dist/module/src/build.js +7 -72
- package/dist/module/src/defaultConfig.js +0 -1
- package/dist/module/src/esbuildConfigs/eslint-formatter-testeranto.js +16 -1
- package/dist/module/src/esbuildConfigs/node.js +2 -16
- package/dist/module/src/esbuildConfigs/pure.js +2 -16
- package/dist/module/src/esbuildConfigs/rebuildPlugin.js +17 -0
- package/dist/module/src/esbuildConfigs/web.js +2 -16
- package/dist/module/src/lib/abstractBase.js +8 -1
- package/dist/module/src/lib/basebuilder.js +4 -0
- package/dist/module/src/lib/classBuilder.js +2 -3
- package/dist/module/src/lib/core.js +2 -0
- package/dist/module/src/run.js +1 -1
- package/dist/module/src/utils/buildTemplates.js +82 -0
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/Project.js +77 -29
- package/dist/prebuild/TestReport.js +51 -32
- package/dist/prebuild/build.mjs +132 -131
- package/dist/prebuild/esbuildConfigs/eslint-formatter-testeranto.mjs +14 -1
- package/dist/prebuild/init-docs.mjs +0 -4
- package/dist/prebuild/run.mjs +50 -31
- package/dist/tsconfig.tsbuildinfo +1 -0
- package/dist/types/src/CoreTypes.d.ts +53 -0
- package/dist/types/src/Node.d.ts +3 -3
- package/dist/types/src/PM/__tests__/nodeSidecar.testeranto.d.ts +2 -4
- package/dist/types/src/PM/__tests__/pureSidecar.testeranto.d.ts +2 -4
- package/dist/types/src/PM/__tests__/webSidecar.testeranto.d.ts +2 -4
- package/dist/types/src/PM/index.d.ts +1 -1
- package/dist/types/src/PM/nodeSidecar.d.ts +2 -2
- package/dist/types/src/Pure.d.ts +3 -3
- package/dist/types/src/Types.d.ts +21 -61
- package/dist/types/src/Web.d.ts +3 -3
- package/dist/types/src/esbuildConfigs/rebuildPlugin.d.ts +6 -0
- package/dist/types/src/lib/abstractBase.d.ts +10 -16
- package/dist/types/src/lib/basebuilder.d.ts +3 -3
- package/dist/types/src/lib/classBuilder.d.ts +2 -2
- package/dist/types/src/lib/core.d.ts +2 -2
- package/dist/types/src/lib/index.d.ts +7 -6
- package/dist/types/src/lib/types.d.ts +8 -8
- package/dist/types/src/mothership/test.d.ts +2 -2
- package/dist/types/src/utils/buildTemplates.d.ts +3 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/docs/index.md +567 -0
- package/docs/style.md +116 -0
- package/docs.html +537 -0
- package/example.css +351 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Black.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Bold.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-ExtraBold.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Light.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Medium.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Regular.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/MPLUSRounded1c-Thin.ttf +0 -0
- package/fonts/M_PLUS_Rounded_1c/OFL.txt +91 -0
- package/index.html +245 -24
- package/logo.svg +72 -0
- package/package.json +11 -2
- package/scripts/compile-docs.js +89 -0
- package/src/CoreTypes.ts +152 -0
- package/src/Init.ts +4 -4
- package/src/Node.ts +13 -13
- package/src/PM/PM_WithEslintAndTsc.ts +46 -15
- package/src/PM/__tests__/nodeSidecar.testeranto.ts +13 -20
- package/src/PM/__tests__/pureSidecar.testeranto.ts +8 -15
- package/src/PM/__tests__/webSidecar.testeranto.ts +8 -15
- package/src/PM/index.ts +1 -1
- package/src/PM/main.ts +17 -16
- package/src/PM/node.ts +10 -10
- package/src/PM/nodeSidecar.ts +2 -2
- package/src/PM/pure.ts +0 -4
- package/src/Project.tsx +289 -292
- package/src/Pure.ts +13 -14
- package/src/PureSidecar.ts +1 -0
- package/src/TestReport.tsx +179 -165
- package/src/Types.ts +52 -151
- package/src/Web.ts +15 -14
- package/src/build.ts +22 -72
- package/src/defaultConfig.ts +2 -1
- package/src/esbuildConfigs/eslint-formatter-testeranto.ts +17 -1
- package/src/esbuildConfigs/node.ts +2 -18
- package/src/esbuildConfigs/pure.ts +2 -18
- package/src/esbuildConfigs/rebuildPlugin.ts +23 -0
- package/src/esbuildConfigs/web.ts +2 -18
- package/src/lib/BaseSuite.test.ts +457 -0
- package/src/lib/BaseSuite.ts +155 -0
- package/src/lib/abstractBase.ts +13 -163
- package/src/lib/basebuilder.ts +11 -11
- package/src/lib/classBuilder.ts +13 -7
- package/src/lib/core.ts +13 -17
- package/src/lib/index.ts +21 -24
- package/src/lib/types.ts +23 -9
- package/src/mothership/test.ts +13 -10
- package/src/run.ts +1 -1
- package/src/style.css +1 -1
- package/src/utils/buildTemplates.ts +88 -0
- package/style.css +496 -0
- package/testeranto/bundles/node/{mothership/chunk-V2EQEXU2.mjs → allTests/chunk-4PJCC2XT.mjs} +66 -59
- package/testeranto/bundles/node/allTests/metafile.json +4151 -0
- package/testeranto/bundles/node/allTests/src/PM/__tests__/nodeSidecar.testeranto.mjs +187 -0
- package/testeranto/bundles/node/{mothership → allTests}/src/PM/__tests__/pureSidecar.testeranto.mjs +1 -1
- package/testeranto/bundles/node/{mothership → allTests}/src/PM/__tests__/webSidecar.testeranto.mjs +1 -1
- package/testeranto/bundles/node/allTests/src/lib/BaseSuite.test.mjs +305 -0
- package/testeranto/bundles/node/{mothership → allTests}/src/mothership/test.mjs +1 -1
- package/testeranto/dev.html +29 -0
- package/testeranto/index.html +28 -27
- package/testeranto/reports/allTests/config.json +57 -0
- package/testeranto/reports/{mothership/index.html → allTests/dev.html} +2 -0
- package/testeranto/reports/allTests/index.html +26 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/sidecar.testeranto/node/index.html → allTests/src/PM/__tests__/nodeSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +28 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/webSidecar.testeranto/node/index.html → allTests/src/PM/__tests__/pureSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/{mothership → allTests}/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +12 -12
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +32 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/nodeSidecar.testeranto/node/index.html → allTests/src/PM/__tests__/webSidecar.testeranto/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/index.html +21 -0
- package/testeranto/reports/{mothership → allTests}/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +12 -12
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/message +1 -0
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +32 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/console_log.txt +35 -0
- package/testeranto/reports/{mothership/src/PM/__tests__/pureSidecar.testeranto/node/index.html → allTests/src/lib/BaseSuite.test/node/dev.html} +4 -3
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/lint_errors.json +608 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/message +1 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/prompt.txt +7 -0
- package/testeranto/reports/allTests/src/lib/BaseSuite.test/node/type_errors.txt +68 -0
- package/testeranto/reports/allTests/src/mothership/test/node/dev.html +21 -0
- package/testeranto/reports/allTests/src/mothership/test/node/index.html +21 -0
- package/testeranto/reports/allTests/src/mothership/test/node/message +1 -0
- package/testeranto/reports/allTests/src/mothership/test/node/prompt.txt +8 -0
- package/testeranto/reports/allTests/src/mothership/test/node/type_errors.txt +24 -0
- package/testeranto/reports/allTests/summary.json +37 -0
- package/testeranto.config.ts +16 -26
- package/tsc.log +66 -69
- package/.aider.tags.cache.v3/cache.db-shm +0 -0
- package/.aider.tags.cache.v3/cache.db-wal +0 -0
- package/dist/common/src/SP__Polygon.test.js +0 -10
- package/dist/module/src/ReportClient.js +0 -132
- package/dist/module/src/SP__Polygon.test.js +0 -8
- package/dist/prebuild/ReportClient.js +0 -3
- package/src/ReportClient.tsx +0 -164
- package/src/SP__Polygon.test.ts +0 -13
- package/testeranto/ReportClient.css +0 -11367
- package/testeranto/ReportClient.js +0 -24641
- package/testeranto/bundles/node/mothership/metafile.json +0 -389
- package/testeranto/bundles/node/mothership/src/PM/__tests__/nodeSidecar.testeranto.mjs +0 -1219
- package/testeranto/bundles/node/mothership/src/PM/__tests__/sidecar.testeranto.mjs +0 -1199
- package/testeranto/reports/mothership/config.json +0 -25
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +0 -1564
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +0 -22
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +0 -35
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +0 -26
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/bdd_errors.txt +0 -1
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/console_log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/lint_errors.json +0 -1564
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/prompt.txt +0 -22
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/tests.json +0 -56
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/type_errors.txt +0 -29
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +0 -26
- package/testeranto/reports/mothership/src/mothership/test/node/bdd_errors.txt +0 -1
- package/testeranto/reports/mothership/src/mothership/test/node/console_log.txt +0 -4
- package/testeranto/reports/mothership/src/mothership/test/node/index.html +0 -20
- package/testeranto/reports/mothership/src/mothership/test/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/mothership/test/node/prompt.txt +0 -12
- package/testeranto/reports/mothership/src/mothership/test/node/tests.json +0 -24
- package/testeranto/reports/mothership/src/mothership/test/node/type_errors.txt +0 -18
- package/testeranto/reports/mothership/summary.json +0 -9
- /package/dist/{types/src/SP__Polygon.test.d.ts → module/src/CoreTypes.js} +0 -0
- /package/testeranto/bundles/node/{mothership → allTests}/chunk-PG6KUKNP.mjs +0 -0
- /package/testeranto/bundles/pure/{mothership → allTests}/metafile.json +0 -0
- /package/testeranto/bundles/web/{mothership → allTests}/metafile.json +0 -0
- /package/testeranto/reports/{mothership/src/PM/__tests__/nodeSidecar.testeranto → allTests/src/lib/BaseSuite.test}/node/log.txt +0 -0
- /package/testeranto/reports/{mothership → allTests}/src/mothership/test/node/lint_errors.json +0 -0
package/src/ReportClient.tsx
DELETED
|
@@ -1,164 +0,0 @@
|
|
|
1
|
-
// import ReactDom from "react-dom/client";
|
|
2
|
-
// import React, { useEffect, useState } from "react";
|
|
3
|
-
|
|
4
|
-
// import 'bootstrap/dist/css/bootstrap.min.css';
|
|
5
|
-
// import "./style.css"
|
|
6
|
-
|
|
7
|
-
// import { IRunTime, ITestTypes, IBuiltConfig } from "./lib";
|
|
8
|
-
// import { Footer } from "./Footer";
|
|
9
|
-
// import { Table } from "react-bootstrap";
|
|
10
|
-
// import { ISummary } from "./Types";
|
|
11
|
-
|
|
12
|
-
// type ICollation = {
|
|
13
|
-
// name: string;
|
|
14
|
-
// runTime: IRunTime;
|
|
15
|
-
// tr: {
|
|
16
|
-
// ports: number;
|
|
17
|
-
// };
|
|
18
|
-
// sidecars: ITestTypes[];
|
|
19
|
-
// staticAnalysis: number | "?";
|
|
20
|
-
// typeErrors: number | "?";
|
|
21
|
-
// bddErrors: number | "?";
|
|
22
|
-
// prompt: string | "?";
|
|
23
|
-
// };
|
|
24
|
-
|
|
25
|
-
// type ICollations = ICollation[];
|
|
26
|
-
|
|
27
|
-
// const BigBoard = () => {
|
|
28
|
-
|
|
29
|
-
// const [configs, setConfigs] = useState<IBuiltConfig>();
|
|
30
|
-
// useEffect(() => {
|
|
31
|
-
// (async () => {
|
|
32
|
-
// fetch(`./reports/${window.location.pathname.split('/').pop()}/config.json`)
|
|
33
|
-
// .then(response => response.json())
|
|
34
|
-
// .then(json => {
|
|
35
|
-
// setConfigs(json)
|
|
36
|
-
// })
|
|
37
|
-
// .catch(error => console.error(error));
|
|
38
|
-
|
|
39
|
-
// })();
|
|
40
|
-
// }, []);
|
|
41
|
-
|
|
42
|
-
// const [bigBoard, setBigBoard] = useState<Record<string, ISummary>>({});
|
|
43
|
-
// useEffect(() => {
|
|
44
|
-
// (async () => {
|
|
45
|
-
// fetch('./docs/summary.json')
|
|
46
|
-
// .then(response => response.json())
|
|
47
|
-
// .then(json => {
|
|
48
|
-
// setBigBoard(json)
|
|
49
|
-
// })
|
|
50
|
-
// .catch(error => console.error(error));
|
|
51
|
-
|
|
52
|
-
// })();
|
|
53
|
-
// }, []);
|
|
54
|
-
|
|
55
|
-
// // const [staticAnalysis, setStaticAnalysis] = useState<Record<string, string>>({});
|
|
56
|
-
// // useEffect(() => {
|
|
57
|
-
// // (async () => {
|
|
58
|
-
|
|
59
|
-
// // let accumulator = {};
|
|
60
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
61
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/lint_errors.txt`)).text()
|
|
62
|
-
// // }
|
|
63
|
-
// // setStaticAnalysis(accumulator);
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
// // })();
|
|
67
|
-
// // }, [configs, bigBoard]);
|
|
68
|
-
|
|
69
|
-
// // const [typeErrors, setTypeErrors] = useState<Record<string, string>>({});
|
|
70
|
-
// // useEffect(() => {
|
|
71
|
-
// // (async () => {
|
|
72
|
-
|
|
73
|
-
// // let accumulator = {};
|
|
74
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
75
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/type_errors.txt`)).text()
|
|
76
|
-
// // }
|
|
77
|
-
// // setTypeErrors(accumulator);
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
// // })();
|
|
81
|
-
// // }, [configs, bigBoard]);
|
|
82
|
-
|
|
83
|
-
// // const [bddErrors, setBddErrors] = useState<Record<string, string>>({});
|
|
84
|
-
// // useEffect(() => {
|
|
85
|
-
// // (async () => {
|
|
86
|
-
|
|
87
|
-
// // let accumulator = {};
|
|
88
|
-
// // for (const t of (configs || { tests: [] as ITestTypes[] }).tests) {
|
|
89
|
-
// // accumulator[t[0]] = await (await fetch(`/kokomoBay/docs/${t[1]}/${t[0].split(".").slice(0, -1).join(".")}/bdd_errors.txt`)).text()
|
|
90
|
-
// // }
|
|
91
|
-
// // setBddErrors(accumulator);
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
// // })();
|
|
95
|
-
// // }, [configs, bigBoard]);
|
|
96
|
-
|
|
97
|
-
// if (!configs) {
|
|
98
|
-
// return <div>loading...</div>
|
|
99
|
-
// }
|
|
100
|
-
|
|
101
|
-
// const collated: ICollations = configs.tests.map((c) => {
|
|
102
|
-
// return {
|
|
103
|
-
// ...bigBoard[c[0]],
|
|
104
|
-
// name: c[0],
|
|
105
|
-
// runTime: c[1],
|
|
106
|
-
// tr: c[2],
|
|
107
|
-
// sidecars: c[3],
|
|
108
|
-
// staticAnalysis: bigBoard[c[0]].staticErrors,
|
|
109
|
-
// typeErrors: bigBoard[c[0]].typeErrors,
|
|
110
|
-
// bddErrors: bigBoard[c[0]].runTimeError,
|
|
111
|
-
// prompt: bigBoard[c[0]].prompt
|
|
112
|
-
// } as ICollation
|
|
113
|
-
// });
|
|
114
|
-
|
|
115
|
-
// return <div >
|
|
116
|
-
// <Table striped bordered hover>
|
|
117
|
-
// <thead>
|
|
118
|
-
// <tr>
|
|
119
|
-
// <th></th>
|
|
120
|
-
// <th>platform</th>
|
|
121
|
-
// <th>BDD errors</th>
|
|
122
|
-
// <th>Lint errors</th>
|
|
123
|
-
// <th>Type errors</th>
|
|
124
|
-
// <th>prompt</th>
|
|
125
|
-
// </tr>
|
|
126
|
-
|
|
127
|
-
// </thead>
|
|
128
|
-
|
|
129
|
-
// <tbody>
|
|
130
|
-
// {
|
|
131
|
-
// ...collated.map((c) => {
|
|
132
|
-
// return <tr>
|
|
133
|
-
// <td>{c.name}</td>
|
|
134
|
-
// <td>{c.runTime}</td>
|
|
135
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/littleBoard.html`}>{c.bddErrors}</a></td>
|
|
136
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/lint_errors.json`}>{c.staticAnalysis}</a></td>
|
|
137
|
-
// <td><a href={`${c.runTime}/${c.name.split(".").slice(0, -1).join(".")}/type_errors.txt`}>{c.typeErrors}</a></td>
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
// <td>
|
|
141
|
-
// <pre>
|
|
142
|
-
// {c.prompt}
|
|
143
|
-
// </pre>
|
|
144
|
-
// </td>
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
// </tr>
|
|
148
|
-
// })
|
|
149
|
-
// }
|
|
150
|
-
// </tbody>
|
|
151
|
-
|
|
152
|
-
// </Table>
|
|
153
|
-
// <Footer />
|
|
154
|
-
// </div>
|
|
155
|
-
// }
|
|
156
|
-
|
|
157
|
-
// document.addEventListener("DOMContentLoaded", function () {
|
|
158
|
-
// const elem = document.getElementById("root");
|
|
159
|
-
// if (elem) {
|
|
160
|
-
// ReactDom.createRoot(elem).render(React.createElement(BigBoard, {}, []));
|
|
161
|
-
// }
|
|
162
|
-
// });
|
|
163
|
-
|
|
164
|
-
// console.log("hello ReportClient!")
|
package/src/SP__Polygon.test.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { test6, When, Then } from "../lib";
|
|
2
|
-
import { Polygon } from "./SP__Polygon";
|
|
3
|
-
|
|
4
|
-
test6(
|
|
5
|
-
["can calculate polygon area"], // Features
|
|
6
|
-
[
|
|
7
|
-
When("given sides", (polygon: Polygon) => polygon.calculateArea()),
|
|
8
|
-
],
|
|
9
|
-
[
|
|
10
|
-
Then("area should match", (area: number) => expect(area).toBeCloseTo(25)),
|
|
11
|
-
],
|
|
12
|
-
[5, 5] // Values passed to Given
|
|
13
|
-
);
|