testeranto 0.129.0 → 0.135.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 +137798 -0
- package/.aider.input.history +370 -0
- package/.aider.tags.cache.v3/{ec/c0/161c249c35be853cc40cf11f9267.val → 62/f5/8af72140d93c58db2f6aa5bf3f1f.val} +0 -0
- package/.aider.tags.cache.v3/8e/ec/2d4659a1589a0187a757ab1cbefa.val +0 -0
- package/.aider.tags.cache.v3/{b7/e6/5be87b62aeaf2bc244ff41c1b61a.val → a7/97/6d37fce350ad2d588f36729db0cd.val} +0 -0
- package/.aider.tags.cache.v3/{e3/e6/3501625caf5d5eb171f0d248462e.val → ad/3c/10f2ab1397f6d544e613d2a6acaf.val} +0 -0
- package/.aider.tags.cache.v3/cache.db +0 -0
- package/.aider.tags.cache.v3/d8/b0/a8966fcd65890fd9f70d7afe8141.val +0 -0
- package/.aider.tags.cache.v3/dd/5b/0ade824b0841c7c11e9352c5d2ca.val +0 -0
- package/README.md +194 -182
- package/bundle.js +8 -75
- package/dist/common/src/Init.js +6 -1
- package/dist/common/src/Node.js +6 -4
- package/dist/common/src/NodeSidecar.js +15 -0
- package/dist/common/src/PM/PM_WithEslintAndTsc.js +189 -0
- package/dist/common/src/PM/__tests__/nodeSidecar.testeranto.js +109 -0
- package/dist/common/src/PM/__tests__/pureSidecar.testeranto.js +94 -0
- package/dist/common/src/PM/__tests__/webSidecar.testeranto.js +94 -0
- package/dist/common/src/PM/base.js +33 -16
- package/dist/common/src/PM/main.js +492 -428
- package/dist/common/src/PM/node.js +54 -22
- package/dist/common/src/PM/nodeSidecar.js +65 -0
- package/dist/common/src/PM/pure.js +55 -47
- package/dist/common/src/PM/pureSidecar.js +48 -0
- package/dist/common/src/PM/sidecar.js +11 -0
- package/dist/common/src/PM/web.js +24 -6
- package/dist/common/src/PM/webSidecar.js +47 -0
- package/dist/common/src/PureSidecar.js +13 -0
- package/dist/common/src/SP__Polygon.test.js +10 -0
- package/dist/common/src/WebSidecar.js +14 -0
- package/dist/common/src/build.js +66 -12
- package/dist/common/src/defaultConfig.js +1 -0
- package/dist/common/src/esbuildConfigs/consoleDetectorPlugin.js +27 -0
- 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 +12 -12
- package/dist/common/src/esbuildConfigs/rebuildPlugin.js +22 -0
- package/dist/common/src/esbuildConfigs/web.js +12 -17
- package/dist/common/src/lib/Sidecar.js +6 -0
- package/dist/common/src/lib/abstractBase.js +13 -6
- package/dist/common/src/lib/basebuilder.js +1 -3
- package/dist/common/src/lib/classBuilder.js +6 -20
- package/dist/common/src/lib/core.js +11 -6
- package/dist/common/src/lib/index.js +13 -4
- package/dist/common/src/lib/pmProxy.js +1 -1
- package/dist/common/src/mothership/index.js +16 -0
- package/dist/common/src/mothership/test.js +65 -0
- package/dist/common/src/utils/queue.js +36 -0
- package/dist/common/src/utils.js +34 -5
- package/dist/common/testeranto.config.js +77 -39
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/Init.js +6 -1
- package/dist/module/src/Node.js +6 -4
- package/dist/module/src/NodeSidecar.js +11 -0
- package/dist/module/src/PM/PM_WithEslintAndTsc.js +182 -0
- package/dist/module/src/PM/__tests__/nodeSidecar.testeranto.js +104 -0
- package/dist/module/src/PM/__tests__/pureSidecar.testeranto.js +89 -0
- package/dist/module/src/PM/__tests__/webSidecar.testeranto.js +89 -0
- package/dist/module/src/PM/base.js +33 -16
- package/dist/module/src/PM/main.js +493 -429
- package/dist/module/src/PM/node.js +54 -22
- package/dist/module/src/PM/nodeSidecar.js +58 -0
- package/dist/module/src/PM/pure.js +55 -44
- package/dist/module/src/PM/pureSidecar.js +41 -0
- package/dist/module/src/PM/sidecar.js +7 -0
- package/dist/module/src/PM/web.js +24 -6
- package/dist/module/src/PM/webSidecar.js +40 -0
- package/dist/module/src/Project.js +154 -75
- package/dist/module/src/PureSidecar.js +9 -0
- package/dist/module/src/ReportClient.js +132 -97
- package/dist/module/src/SP__Polygon.test.js +8 -0
- package/dist/module/src/TestReport.js +32 -14
- package/dist/module/src/WebSidecar.js +10 -0
- package/dist/module/src/build.js +66 -12
- package/dist/module/src/defaultConfig.js +1 -0
- package/dist/module/src/esbuildConfigs/consoleDetectorPlugin.js +24 -0
- 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 +12 -12
- package/dist/module/src/esbuildConfigs/rebuildPlugin.js +17 -0
- package/dist/module/src/esbuildConfigs/web.js +12 -17
- package/dist/module/src/lib/Sidecar.js +2 -0
- package/dist/module/src/lib/abstractBase.js +13 -6
- package/dist/module/src/lib/basebuilder.js +1 -3
- package/dist/module/src/lib/classBuilder.js +6 -20
- package/dist/module/src/lib/core.js +11 -6
- package/dist/module/src/lib/index.js +12 -4
- package/dist/module/src/lib/pmProxy.js +1 -1
- package/dist/module/src/mothership/index.js +11 -0
- package/dist/module/src/mothership/test.js +60 -0
- package/dist/module/src/utils/queue.js +32 -0
- package/dist/module/src/utils.js +34 -5
- package/dist/module/testeranto.config.js +77 -36
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/Project.js +3287 -385
- package/dist/prebuild/ReportClient.js +0 -24638
- package/dist/prebuild/TestReport.js +26 -22
- package/dist/prebuild/build.mjs +192 -70
- package/dist/prebuild/esbuildConfigs/eslint-formatter-testeranto.mjs +14 -1
- package/dist/prebuild/init-docs.mjs +2 -5
- package/dist/prebuild/mothership/index.mjs +17 -0
- package/dist/prebuild/run.mjs +733 -433
- package/dist/types/src/CoreTypes.d.ts +51 -0
- package/dist/types/src/Node.d.ts +2 -2
- package/dist/types/src/NodeSidecar.d.ts +6 -0
- package/dist/types/src/PM/PM_WithEslintAndTsc.d.ts +23 -0
- package/dist/types/src/PM/__tests__/nodeSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/__tests__/pureSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/__tests__/webSidecar.testeranto.d.ts +2 -0
- package/dist/types/src/PM/base.d.ts +6 -5
- package/dist/types/src/PM/index.d.ts +6 -4
- package/dist/types/src/PM/main.d.ts +23 -26
- package/dist/types/src/PM/node.d.ts +8 -6
- package/dist/types/src/PM/nodeSidecar.d.ts +13 -0
- package/dist/types/src/PM/pure.d.ts +4 -3
- package/dist/types/src/PM/pureSidecar.d.ts +11 -0
- package/dist/types/src/PM/sidecar.d.ts +8 -0
- package/dist/types/src/PM/web.d.ts +18 -8
- package/dist/types/src/PM/webSidecar.d.ts +11 -0
- package/dist/types/src/PureSidecar.d.ts +8 -0
- package/dist/types/src/SP__Polygon.test.d.ts +1 -0
- package/dist/types/src/Types.d.ts +80 -58
- package/dist/types/src/Web.d.ts +1 -1
- package/dist/types/src/WebSidecar.d.ts +8 -0
- package/dist/types/src/esbuildConfigs/consoleDetectorPlugin.d.ts +2 -0
- package/dist/types/src/esbuildConfigs/rebuildPlugin.d.ts +6 -0
- package/dist/types/src/lib/Sidecar.d.ts +5 -0
- package/dist/types/src/lib/abstractBase.d.ts +6 -12
- package/dist/types/src/lib/classBuilder.d.ts +7 -1
- package/dist/types/src/lib/core.d.ts +8 -2
- package/dist/types/src/lib/index.d.ts +10 -4
- package/dist/types/src/lib/types.d.ts +12 -2
- package/dist/types/src/mothership/index.d.ts +2 -0
- package/dist/types/src/mothership/test.d.ts +2 -0
- package/dist/types/src/utils/queue.d.ts +11 -0
- package/dist/types/src/utils.d.ts +4 -7
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/docs/index.md +277 -0
- package/package.json +23 -104
- package/src/CoreTypes.ts +171 -0
- package/src/Init.ts +6 -5
- package/src/Node.ts +32 -15
- package/src/NodeSidecar.ts +22 -0
- package/src/PM/PM_WithEslintAndTsc.ts +315 -0
- package/src/PM/__tests__/nodeSidecar.testeranto.ts +173 -0
- package/src/PM/__tests__/pureSidecar.testeranto.ts +157 -0
- package/src/PM/__tests__/webSidecar.testeranto.ts +157 -0
- package/src/PM/base.ts +38 -17
- package/src/PM/index.ts +10 -4
- package/src/PM/main.ts +616 -589
- package/src/PM/node.ts +77 -33
- package/src/PM/nodeSidecar.ts +73 -0
- package/src/PM/pure.ts +68 -58
- package/src/PM/pureSidecar.ts +56 -0
- package/src/PM/sidecar.ts +48 -0
- package/src/PM/web.ts +42 -11
- package/src/PM/webSidecar.ts +55 -0
- package/src/Project.tsx +312 -109
- package/src/Pure.ts +0 -2
- package/src/PureSidecar.ts +14 -0
- package/src/ReportClient.tsx +164 -170
- package/src/SP__Polygon.test.ts +13 -0
- package/src/TestReport.tsx +77 -6
- package/src/Types.ts +278 -157
- package/src/Web.ts +0 -3
- package/src/WebSidecar.ts +14 -0
- package/src/build.ts +104 -16
- package/src/defaultConfig.ts +1 -0
- package/src/esbuildConfigs/README.md +46 -0
- package/src/esbuildConfigs/consoleDetectorPlugin.ts +29 -0
- package/src/esbuildConfigs/eslint-formatter-testeranto.ts +17 -1
- package/src/esbuildConfigs/node.ts +2 -18
- package/src/esbuildConfigs/pure.ts +19 -14
- package/src/esbuildConfigs/rebuildPlugin.ts +23 -0
- package/src/esbuildConfigs/web.ts +15 -18
- package/src/lib/Sidecar.ts +6 -0
- package/src/lib/TEST_ADAPTER_RENAME.md +48 -0
- package/src/lib/abstractBase.ts +18 -10
- package/src/lib/basebuilder.ts +5 -4
- package/src/lib/classBuilder.ts +19 -21
- package/src/lib/core.ts +28 -19
- package/src/lib/index.ts +38 -18
- package/src/lib/pmProxy.ts +3 -1
- package/src/lib/types.ts +15 -2
- package/src/mothership/index.ts +15 -0
- package/src/mothership/test.ts +137 -0
- package/src/run.ts +0 -1
- package/src/utils/queue.ts +41 -0
- package/src/utils.ts +41 -15
- package/testeranto/bundles/node/mothership/chunk-PG6KUKNP.mjs +44 -0
- package/testeranto/bundles/node/mothership/chunk-V2EQEXU2.mjs +1032 -0
- package/testeranto/bundles/node/mothership/metafile.json +389 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/nodeSidecar.testeranto.mjs +1219 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/pureSidecar.testeranto.mjs +156 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/sidecar.testeranto.mjs +1199 -0
- package/testeranto/bundles/node/mothership/src/PM/__tests__/webSidecar.testeranto.mjs +156 -0
- package/testeranto/bundles/node/mothership/src/mothership/test.mjs +24411 -0
- package/testeranto/bundles/pure/mothership/metafile.json +8 -0
- package/testeranto/bundles/web/mothership/metafile.json +8 -0
- package/testeranto/index.html +4 -4
- package/testeranto/reports/mothership/config.json +25 -0
- package/testeranto/reports/{redux → mothership}/index.html +8 -8
- 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/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/lint_errors.json +1564 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/prompt.txt +22 -0
- package/testeranto/reports/mothership/src/PM/__tests__/nodeSidecar.testeranto/node/type_errors.txt +35 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/PM/__tests__/pureSidecar.testeranto/node/type_errors.txt +26 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/bdd_errors.txt +1 -0
- 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/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/lint_errors.json +1564 -0
- 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 +22 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/tests.json +56 -0
- package/testeranto/reports/mothership/src/PM/__tests__/sidecar.testeranto/node/type_errors.txt +29 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/index.html +20 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/lint_errors.json +80 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/PM/__tests__/webSidecar.testeranto/node/type_errors.txt +26 -0
- package/testeranto/reports/mothership/src/mothership/test/node/bdd_errors.txt +1 -0
- package/testeranto/reports/mothership/src/mothership/test/node/console_log.txt +4 -0
- package/testeranto/reports/mothership/src/mothership/test/node/index.html +20 -0
- package/testeranto/reports/mothership/src/mothership/test/node/lint_errors.json +1 -0
- package/testeranto/reports/mothership/src/mothership/test/node/log.txt +0 -0
- package/testeranto/reports/mothership/src/mothership/test/node/prompt.txt +12 -0
- package/testeranto/reports/mothership/src/mothership/test/node/tests.json +24 -0
- package/testeranto/reports/mothership/src/mothership/test/node/type_errors.txt +18 -0
- package/testeranto/reports/mothership/summary.json +9 -0
- package/testeranto.config.ts +82 -44
- package/tsc.log +78 -81
- package/dist/common/src/SubPackages/react/component/index.js +0 -20
- package/dist/common/src/SubPackages/react/component/node.js +0 -10
- package/dist/common/src/SubPackages/react/component/pure.js +0 -10
- package/dist/common/src/SubPackages/react/component/web.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/index.js +0 -64
- package/dist/common/src/SubPackages/react/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react/jsx/web.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/dynamic.js +0 -61
- package/dist/common/src/SubPackages/react-dom/component/node.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/pure.js +0 -10
- package/dist/common/src/SubPackages/react-dom/component/static.js +0 -26
- package/dist/common/src/SubPackages/react-dom/component/web.js +0 -16
- package/dist/common/src/SubPackages/react-dom/jsx/dynamic.js +0 -31
- package/dist/common/src/SubPackages/react-dom/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react-dom/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react-dom/jsx/static.js +0 -59
- package/dist/common/src/SubPackages/react-dom/jsx/web.js +0 -16
- package/dist/common/src/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -54
- package/dist/common/src/SubPackages/react-test-renderer/component/index.js +0 -15
- package/dist/common/src/SubPackages/react-test-renderer/component/interface.js +0 -70
- package/dist/common/src/SubPackages/react-test-renderer/component/node.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/component/pure.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/component/test/implementation.js +0 -57
- package/dist/common/src/SubPackages/react-test-renderer/component/test/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/test/pure.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/test/web.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/component/web.js +0 -8
- package/dist/common/src/SubPackages/react-test-renderer/fc/node.js +0 -60
- package/dist/common/src/SubPackages/react-test-renderer/fc/web.js +0 -60
- package/dist/common/src/SubPackages/react-test-renderer/jsx/index.js +0 -67
- package/dist/common/src/SubPackages/react-test-renderer/jsx/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx/pure.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx/web.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/index.js +0 -52
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/node.js +0 -10
- package/dist/common/src/SubPackages/react-test-renderer/jsx-promised/web.js +0 -10
- package/dist/common/src/examples/react/component/index.js +0 -33
- package/dist/common/src/examples/react/component/test.js +0 -36
- package/dist/module/src/SubPackages/react/component/index.js +0 -13
- package/dist/module/src/SubPackages/react/component/node.js +0 -5
- package/dist/module/src/SubPackages/react/component/pure.js +0 -5
- package/dist/module/src/SubPackages/react/component/web.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/index.js +0 -58
- package/dist/module/src/SubPackages/react/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react/jsx/web.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/dynamic.js +0 -54
- package/dist/module/src/SubPackages/react-dom/component/node.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/pure.js +0 -5
- package/dist/module/src/SubPackages/react-dom/component/static.js +0 -22
- package/dist/module/src/SubPackages/react-dom/component/web.js +0 -11
- package/dist/module/src/SubPackages/react-dom/jsx/dynamic.js +0 -27
- package/dist/module/src/SubPackages/react-dom/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react-dom/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react-dom/jsx/static.js +0 -53
- package/dist/module/src/SubPackages/react-dom/jsx/web.js +0 -11
- package/dist/module/src/SubPackages/react-test-renderer/MemoExoticComponent/node.js +0 -16
- package/dist/module/src/SubPackages/react-test-renderer/component/index.js +0 -14
- package/dist/module/src/SubPackages/react-test-renderer/component/interface.js +0 -31
- package/dist/module/src/SubPackages/react-test-renderer/component/node.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/component/pure.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/component/test/implementation.js +0 -54
- package/dist/module/src/SubPackages/react-test-renderer/component/test/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/test/pure.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/test/web.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/component/web.js +0 -3
- package/dist/module/src/SubPackages/react-test-renderer/fc/node.js +0 -22
- package/dist/module/src/SubPackages/react-test-renderer/fc/web.js +0 -22
- package/dist/module/src/SubPackages/react-test-renderer/jsx/index.js +0 -28
- package/dist/module/src/SubPackages/react-test-renderer/jsx/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx/pure.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx/web.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/index.js +0 -16
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/node.js +0 -5
- package/dist/module/src/SubPackages/react-test-renderer/jsx-promised/web.js +0 -5
- package/dist/module/src/examples/react/component/index.js +0 -26
- package/dist/module/src/examples/react/component/test.js +0 -32
- package/dist/prebuild/ReportClient.css +0 -11342
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/src/SubPackages/react/component/index.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/index.d.ts +0 -5
- package/dist/types/src/SubPackages/react/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react/jsx/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/dynamic.d.ts +0 -20
- package/dist/types/src/SubPackages/react-dom/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/component/static.d.ts +0 -9
- package/dist/types/src/SubPackages/react-dom/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/dynamic.d.ts +0 -5
- package/dist/types/src/SubPackages/react-dom/jsx/index.d.ts +0 -6
- package/dist/types/src/SubPackages/react-dom/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-dom/jsx/static.d.ts +0 -5
- package/dist/types/src/SubPackages/react-dom/jsx/web.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/MemoExoticComponent/node.d.ts +0 -6
- package/dist/types/src/SubPackages/react-test-renderer/component/index.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/component/interface.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/implementation.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/node.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/test/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/component/test/web.d.ts +0 -3
- package/dist/types/src/SubPackages/react-test-renderer/component/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/fc/node.d.ts +0 -8
- package/dist/types/src/SubPackages/react-test-renderer/fc/web.d.ts +0 -9
- package/dist/types/src/SubPackages/react-test-renderer/jsx/index.d.ts +0 -11
- package/dist/types/src/SubPackages/react-test-renderer/jsx/node.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx/pure.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx/web.d.ts +0 -4
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/index.d.ts +0 -15
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/node.d.ts +0 -5
- package/dist/types/src/SubPackages/react-test-renderer/jsx-promised/web.d.ts +0 -5
- package/dist/types/src/examples/react/component/index.d.ts +0 -13
- package/dist/types/src/examples/react/component/test.d.ts +0 -17
- package/src/SubPackages/react/component/index.ts +0 -28
- package/src/SubPackages/react/component/node.ts +0 -17
- package/src/SubPackages/react/component/pure.ts +0 -17
- package/src/SubPackages/react/component/web.ts +0 -17
- package/src/SubPackages/react/jsx/index.ts +0 -75
- package/src/SubPackages/react/jsx/node.ts +0 -23
- package/src/SubPackages/react/jsx/pure.ts +0 -23
- package/src/SubPackages/react/jsx/web.ts +0 -24
- package/src/SubPackages/react-dom/component/dynamic.ts +0 -107
- package/src/SubPackages/react-dom/component/node.ts +0 -17
- package/src/SubPackages/react-dom/component/pure.ts +0 -17
- package/src/SubPackages/react-dom/component/static.ts +0 -41
- package/src/SubPackages/react-dom/component/web.ts +0 -32
- package/src/SubPackages/react-dom/jsx/dynamic.ts +0 -46
- package/src/SubPackages/react-dom/jsx/index.ts +0 -6
- package/src/SubPackages/react-dom/jsx/node.ts +0 -18
- package/src/SubPackages/react-dom/jsx/pure.ts +0 -18
- package/src/SubPackages/react-dom/jsx/static.ts +0 -87
- package/src/SubPackages/react-dom/jsx/web.ts +0 -26
- package/src/SubPackages/react-test-renderer/MemoExoticComponent/node.ts +0 -54
- package/src/SubPackages/react-test-renderer/component/index.ts +0 -32
- package/src/SubPackages/react-test-renderer/component/interface.ts +0 -43
- package/src/SubPackages/react-test-renderer/component/node.ts +0 -18
- package/src/SubPackages/react-test-renderer/component/pure.ts +0 -18
- package/src/SubPackages/react-test-renderer/component/test/implementation.ts +0 -63
- package/src/SubPackages/react-test-renderer/component/test/node.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/test/pure.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/test/web.ts +0 -14
- package/src/SubPackages/react-test-renderer/component/web.ts +0 -18
- package/src/SubPackages/react-test-renderer/fc/node.ts +0 -83
- package/src/SubPackages/react-test-renderer/fc/web.ts +0 -80
- package/src/SubPackages/react-test-renderer/jsx/index.ts +0 -61
- package/src/SubPackages/react-test-renderer/jsx/node.ts +0 -31
- package/src/SubPackages/react-test-renderer/jsx/pure.ts +0 -31
- package/src/SubPackages/react-test-renderer/jsx/web.ts +0 -32
- package/src/SubPackages/react-test-renderer/jsx-promised/index.ts +0 -73
- package/src/SubPackages/react-test-renderer/jsx-promised/node.ts +0 -36
- package/src/SubPackages/react-test-renderer/jsx-promised/web.ts +0 -36
- package/src/examples/react/component/index.tsx +0 -35
- package/src/examples/react/component/test.ts +0 -83
- package/testeranto/bundles/node/redux/metafile.json +0 -559
- package/testeranto/bundles/pure/redux/metafile.json +0 -554
- package/testeranto/bundles/web/redux/metafile.json +0 -504
- package/testeranto/bundles/web/redux/test/web.html +0 -19
- package/testeranto/reports/redux/config.json +0 -38
- package/testeranto/reports/redux/summary.json +0 -20
- /package/dist/common/src/{SubPackages/react-dom/jsx/index.js → CoreTypes.js} +0 -0
- /package/dist/module/src/{SubPackages/react-dom/jsx/index.js → CoreTypes.js} +0 -0
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
3
|
-
export type I = Ibdd_in<typeof React.Component, React.CElement<any, any>, React.CElement<any, any>, React.CElement<any, any>, unknown, () => (s: React.CElement<any, any>) => any, unknown>;
|
|
4
|
-
export declare const reactInterfacer: (testInput: I["iinput"]) => IPartialInterface<I>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { CElement } from "react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
4
|
-
export type I = Ibdd_in<() => JSX.Element, CElement<any, any>, CElement<any, any>, CElement<any, any>, any, () => (s: React.CElement<any, any>) => any, any>;
|
|
5
|
-
export declare const testInterface: IPartialInterface<any>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IPartialInterface, ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"], testInterface?: IPartialInterface<I>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IPartialInterface, ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"], testInterface?: IPartialInterface<I>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IPartialInterface, ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"], testInterface?: IPartialInterface<I>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import ReactDom from "react-dom/client";
|
|
3
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
4
|
-
export type IInput = typeof React.Component;
|
|
5
|
-
export type ISelection = {
|
|
6
|
-
htmlElement: HTMLElement;
|
|
7
|
-
reactElement: any;
|
|
8
|
-
domRoot: ReactDom.Root;
|
|
9
|
-
};
|
|
10
|
-
export type IStore = {
|
|
11
|
-
htmlElement: HTMLElement;
|
|
12
|
-
reactElement: any;
|
|
13
|
-
domRoot: ReactDom.Root;
|
|
14
|
-
};
|
|
15
|
-
export type ISubject = {
|
|
16
|
-
htmlElement: HTMLElement;
|
|
17
|
-
domRoot: ReactDom.Root;
|
|
18
|
-
};
|
|
19
|
-
export type I = Ibdd_in<IInput, ISubject, ISelection, IStore, (s: IStore) => IStore, (s: IStore) => IStore, (s: IStore) => IStore>;
|
|
20
|
-
export declare const testInterfacer: (testInput: IInput) => IPartialInterface<I>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./static.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./static.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
import { Ibdd_in } from "../../../Types";
|
|
3
|
-
type IInput = typeof React.Component;
|
|
4
|
-
export type ISelection = ReactNode;
|
|
5
|
-
export type IStore = ReactNode;
|
|
6
|
-
export type ISubject = ReactNode;
|
|
7
|
-
export type I = Ibdd_in<IInput, ISubject, IStore, ISelection, unknown, (s: IStore) => IStore, unknown>;
|
|
8
|
-
export declare const testInterfacer: (testInput: any) => any;
|
|
9
|
-
export {};
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { IPartialWebInterface, ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I, IInput } from "./dynamic.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testInput: IInput, testSpecifications: ITestSpecification<I, O>, testImplementations: ITestImplementation<I, O, M>, testInterface: IPartialWebInterface<I>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
2
|
-
import { IInput, ISelection, IStore, IWhenShape, IThenShape } from ".";
|
|
3
|
-
export type ISubject = HTMLElement;
|
|
4
|
-
export type I = Ibdd_in<IInput, ISubject, ISelection, IStore, unknown, IWhenShape, IThenShape>;
|
|
5
|
-
export declare const testInterfacer: (testInput: I["iinput"]) => IPartialInterface<I>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./static.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import { I } from "./static.js";
|
|
3
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: I["iinput"]) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
2
|
-
import { IInput, ISelection, IStore } from ".";
|
|
3
|
-
import { IPM } from "../../../lib/types";
|
|
4
|
-
export type I = Ibdd_in<IInput, HTMLElement, ISelection, IStore, unknown, (s: HTMLElement, p: IPM) => any, (s: HTMLElement, p: IPM) => any>;
|
|
5
|
-
export declare const testInterface: IPartialInterface<I>;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
2
|
-
import type { IInput } from "./index";
|
|
3
|
-
import { I } from "./dynamic.js";
|
|
4
|
-
declare const _default: <O extends OT, M>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: IInput) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
5
|
-
export default _default;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import renderer from "react-test-renderer";
|
|
3
|
-
import { Ibdd_in, Ibdd_out, ITestImplementation, ITestSpecification } from "../../../Types";
|
|
4
|
-
type IInput = React.MemoExoticComponent<() => JSX.Element>;
|
|
5
|
-
declare const _default: <I extends Ibdd_in<IInput, renderer.ReactTestRenderer, renderer.ReactTestRenderer, renderer.ReactTestRenderer, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<I, O>, testSpecifications: ITestSpecification<I, O>, testInput: IInput) => Promise<import("../../../lib/core").default<I, O, unknown>>;
|
|
6
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ReactTestRenderer } from "react-test-renderer";
|
|
3
|
-
import type { Ibdd_in } from "../../../Types";
|
|
4
|
-
export type IInput<P, S> = typeof React.Component<P, S>;
|
|
5
|
-
export type I = Ibdd_in<IInput<any, any>, ReactTestRenderer, ReactTestRenderer, ReactTestRenderer, unknown, unknown, (r: ReactTestRenderer) => ReactTestRenderer>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types.js";
|
|
2
|
-
import { IInput, I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, IProps, IState, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: IInput<IProps, IState>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types.js";
|
|
2
|
-
import { IInput, I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: IInput<any, any>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types.js";
|
|
2
|
-
import { IInput, I } from "./index.js";
|
|
3
|
-
declare const _default: <O extends OT, IProps, IState, M = {}>(testImplementations: ITestImplementation<I, O, M>, testSpecifications: ITestSpecification<I, O>, testInput: IInput<any, any>) => Promise<import("../../../lib/core.js").default<I, O, M>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { ITestSpecification, ITestImplementation, Ibdd_in, Ibdd_out } from "../../../Types";
|
|
3
|
-
export type IInput = React.FC;
|
|
4
|
-
export type IWhenShape = unknown;
|
|
5
|
-
export type IThenShape = unknown;
|
|
6
|
-
export type ISpec<I extends Ibdd_in<unknown, unknown, unknown, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = ITestSpecification<I, O>;
|
|
7
|
-
declare const _default: <I extends Ibdd_in<unknown, unknown, unknown, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<I, O>, testSpecifications: ISpec<I, O>, testInput: IInput) => Promise<import("../../../lib/core.js").default<I, O, unknown>>;
|
|
8
|
-
export default _default;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import renderer from "react-test-renderer";
|
|
3
|
-
import { ITestSpecification, ITestImplementation, Ibdd_in, Ibdd_out } from "../../../Types";
|
|
4
|
-
export type IInput = React.FC;
|
|
5
|
-
export type IWhenShape = unknown;
|
|
6
|
-
export type IThenShape = unknown;
|
|
7
|
-
export type ISpec<I extends Ibdd_in<unknown, unknown, renderer.ReactTestRenderer, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = ITestSpecification<I, O>;
|
|
8
|
-
declare const _default: <I extends Ibdd_in<unknown, unknown, renderer.ReactTestRenderer, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<I, O>, testSpecifications: ISpec<I, O>, testInput: IInput) => Promise<import("../../../lib/core").default<I, O, unknown>>;
|
|
9
|
-
export default _default;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import renderer, { ReactTestRenderer } from "react-test-renderer";
|
|
2
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
3
|
-
export type IWhenShape = any;
|
|
4
|
-
export type IThenShape = void;
|
|
5
|
-
export type InitialState = unknown;
|
|
6
|
-
export type IInput = (props?: any) => JSX.Element;
|
|
7
|
-
export type ISelection = renderer.ReactTestRenderer;
|
|
8
|
-
export type IStore = renderer.ReactTestRenderer;
|
|
9
|
-
export type ISubject = renderer.ReactTestRenderer;
|
|
10
|
-
export type I = Ibdd_in<(props?: any) => JSX.Element, ReactTestRenderer, ReactTestRenderer, ReactTestRenderer, unknown, IWhenShape, IThenShape>;
|
|
11
|
-
export declare const testInterface: IPartialInterface<I>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Ibdd_out, ITestImplementation, ITestSpecification } from "../../../Types.js";
|
|
2
|
-
import { I, IInput } from "./index.js";
|
|
3
|
-
declare const _default: <II extends I, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<II, O>, testSpecifications: ITestSpecification<II, O>, testInput: IInput, testInterface2?: Partial<import("../../../Types.js").ITestInterface<I>>) => Promise<import("../../../lib/core.js").default<I, O, unknown>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Ibdd_out, ITestImplementation, ITestSpecification } from "../../../Types.js";
|
|
2
|
-
import { I, IInput } from "./index.js";
|
|
3
|
-
declare const _default: <II extends I, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<II, O>, testSpecifications: ITestSpecification<II, O>, testInput: IInput, testInterface2?: Partial<import("../../../Types.js").ITestInterface<I>>) => Promise<import("../../../lib/core.js").default<I, O, unknown>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Ibdd_out, ITestImplementation, ITestSpecification } from "../../../Types.js";
|
|
2
|
-
import { I, IInput } from "./index.js";
|
|
3
|
-
declare const _default: <II extends I, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImplementation<II, O>, testSpecifications: ITestSpecification<II, O>, testInput: IInput, testInterface2?: Partial<import("../../../Types.js").ITestInterface<I>>) => Promise<import("../../../lib/core.js").default<I, O, unknown>>;
|
|
4
|
-
export default _default;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import renderer from "react-test-renderer";
|
|
2
|
-
import { Ibdd_in, Ibdd_out, ITestImplementation, ITestSpecification } from "../../../Types";
|
|
3
|
-
export type IWhenShape = any;
|
|
4
|
-
export type IThenShape = any;
|
|
5
|
-
export type InitialState = unknown;
|
|
6
|
-
export type IInput = Promise<JSX.Element>;
|
|
7
|
-
export type ISelection = renderer.ReactTestRenderer;
|
|
8
|
-
export type IStore = renderer.ReactTestRenderer;
|
|
9
|
-
export type ISubject = renderer.ReactTestRenderer;
|
|
10
|
-
export type ITestImpl<I extends Ibdd_in<renderer.ReactTestRenderer, renderer.ReactTestRenderer, renderer.ReactTestRenderer, renderer.ReactTestRenderer, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = ITestImplementation<I, O>;
|
|
11
|
-
export type ITestSpec<I extends Ibdd_in<renderer.ReactTestRenderer, renderer.ReactTestRenderer, renderer.ReactTestRenderer, renderer.ReactTestRenderer, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>> = ITestSpecification<I, O>;
|
|
12
|
-
export declare const testInterface: {
|
|
13
|
-
beforeEach: (CComponent: any) => Promise<unknown>;
|
|
14
|
-
andWhen: (renderer: renderer.ReactTestRenderer, whenCB: () => (any: any) => any) => Promise<renderer.ReactTestRenderer>;
|
|
15
|
-
};
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Ibdd_in, Ibdd_out } from "../../../Types";
|
|
2
|
-
import { ITestImpl, ITestSpec } from "../../react/jsx";
|
|
3
|
-
import { IInput } from ".";
|
|
4
|
-
declare const _default: <I extends Ibdd_in<unknown, unknown, unknown, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImpl<I, O>, testSpecifications: ITestSpec<I, O>, testInput: IInput) => Promise<import("../../../lib/core").default<I, O, unknown>>;
|
|
5
|
-
export default _default;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Ibdd_in, Ibdd_out } from "../../../Types";
|
|
2
|
-
import { ITestImpl, ITestSpec } from "../../react/jsx";
|
|
3
|
-
import { IInput } from "./index";
|
|
4
|
-
declare const _default: <I extends Ibdd_in<unknown, unknown, unknown, unknown, unknown, unknown, unknown>, O extends Ibdd_out<Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>, Record<string, any>>>(testImplementations: ITestImpl<I, O>, testSpecifications: ITestSpec<I, O>, testInput: IInput) => Promise<import("../../../lib/core").default<I, O, unknown>>;
|
|
5
|
-
export default _default;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type IProps = {
|
|
3
|
-
foo: string;
|
|
4
|
-
children: [];
|
|
5
|
-
};
|
|
6
|
-
export type IState = {
|
|
7
|
-
count: number;
|
|
8
|
-
};
|
|
9
|
-
export declare class ClassicalComponent extends React.Component<IProps, IState> {
|
|
10
|
-
constructor(props: any);
|
|
11
|
-
render(): JSX.Element;
|
|
12
|
-
}
|
|
13
|
-
export default ClassicalComponent;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { ITestSpecification, IT } from "../../../Types";
|
|
2
|
-
import { Ibdd_out } from "../../../Types";
|
|
3
|
-
import { IProps, IState } from ".";
|
|
4
|
-
export type O = Ibdd_out<{
|
|
5
|
-
Default: [string];
|
|
6
|
-
}, {
|
|
7
|
-
AnEmptyState: [];
|
|
8
|
-
}, {
|
|
9
|
-
IClickTheButton: [];
|
|
10
|
-
IClickTheHeader: [];
|
|
11
|
-
}, {
|
|
12
|
-
ThePropsIs: [IProps];
|
|
13
|
-
TheStatusIs: [IState];
|
|
14
|
-
}, {
|
|
15
|
-
AnEmptyState: any;
|
|
16
|
-
}>;
|
|
17
|
-
export declare const specification: ITestSpecification<IT, O>;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
|
|
3
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
4
|
-
|
|
5
|
-
export type I = Ibdd_in<
|
|
6
|
-
typeof React.Component,
|
|
7
|
-
React.CElement<any, any>,
|
|
8
|
-
React.CElement<any, any>,
|
|
9
|
-
React.CElement<any, any>,
|
|
10
|
-
unknown,
|
|
11
|
-
() => (s: React.CElement<any, any>) => any,
|
|
12
|
-
unknown
|
|
13
|
-
>;
|
|
14
|
-
|
|
15
|
-
export const reactInterfacer = (
|
|
16
|
-
testInput: I["iinput"]
|
|
17
|
-
): IPartialInterface<I> => {
|
|
18
|
-
return {
|
|
19
|
-
beforeEach: async () => {
|
|
20
|
-
return new Promise((resolve, rej) => {
|
|
21
|
-
resolve(React.createElement(testInput, {}, []));
|
|
22
|
-
});
|
|
23
|
-
},
|
|
24
|
-
andWhen: function (s, whenCB) {
|
|
25
|
-
return whenCB()(s);
|
|
26
|
-
},
|
|
27
|
-
};
|
|
28
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Node.js";
|
|
2
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
3
|
-
|
|
4
|
-
import { reactInterfacer, I } from "./index.js";
|
|
5
|
-
|
|
6
|
-
export default <O extends OT, M>(
|
|
7
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
8
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
9
|
-
testInput: I["iinput"]
|
|
10
|
-
) => {
|
|
11
|
-
return Testeranto<I, O, M>(
|
|
12
|
-
testInput,
|
|
13
|
-
testSpecifications,
|
|
14
|
-
testImplementations,
|
|
15
|
-
reactInterfacer(testInput)
|
|
16
|
-
);
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Pure.js";
|
|
2
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
3
|
-
|
|
4
|
-
import { reactInterfacer, I } from "./index.js";
|
|
5
|
-
|
|
6
|
-
export default <O extends OT, M>(
|
|
7
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
8
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
9
|
-
testInput: I["iinput"]
|
|
10
|
-
) => {
|
|
11
|
-
return Testeranto<I, O, M>(
|
|
12
|
-
testInput,
|
|
13
|
-
testSpecifications,
|
|
14
|
-
testImplementations,
|
|
15
|
-
reactInterfacer(testInput)
|
|
16
|
-
);
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Web.js";
|
|
2
|
-
import { ITestImplementation, ITestSpecification, OT } from "../../../Types";
|
|
3
|
-
|
|
4
|
-
import { reactInterfacer, I } from "./index.js";
|
|
5
|
-
|
|
6
|
-
export default <O extends OT, M>(
|
|
7
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
8
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
9
|
-
testInput: I["iinput"]
|
|
10
|
-
) => {
|
|
11
|
-
return Testeranto<I, O, M>(
|
|
12
|
-
testInput,
|
|
13
|
-
testSpecifications,
|
|
14
|
-
testImplementations,
|
|
15
|
-
reactInterfacer(testInput)
|
|
16
|
-
);
|
|
17
|
-
};
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { CElement } from "react";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
import { Ibdd_in, IPartialInterface } from "../../../Types";
|
|
5
|
-
|
|
6
|
-
export type I = Ibdd_in<
|
|
7
|
-
() => JSX.Element,
|
|
8
|
-
CElement<any, any>,
|
|
9
|
-
CElement<any, any>,
|
|
10
|
-
CElement<any, any>,
|
|
11
|
-
any,
|
|
12
|
-
() => (s: React.CElement<any, any>) => any,
|
|
13
|
-
any
|
|
14
|
-
>;
|
|
15
|
-
|
|
16
|
-
export const testInterface: IPartialInterface<any> = {
|
|
17
|
-
andWhen: async (s, whenCB) => {
|
|
18
|
-
await whenCB(s());
|
|
19
|
-
return new Promise((resolve, rej) => {
|
|
20
|
-
resolve(React.createElement(s));
|
|
21
|
-
});
|
|
22
|
-
},
|
|
23
|
-
butThen: async (subject, thenCB) => {
|
|
24
|
-
await thenCB(subject());
|
|
25
|
-
return new Promise((resolve, rej) => {
|
|
26
|
-
resolve(React.createElement(subject));
|
|
27
|
-
});
|
|
28
|
-
},
|
|
29
|
-
};
|
|
30
|
-
|
|
31
|
-
// export type IWhenShape = any;
|
|
32
|
-
// export type IThenShape = any;
|
|
33
|
-
// export type InitialState = unknown;
|
|
34
|
-
// export type IInput = () => JSX.Element;
|
|
35
|
-
// export type ISelection = CElement<any, any>;
|
|
36
|
-
// export type IStore = CElement<any, any>;
|
|
37
|
-
// export type ISubject = CElement<any, any>;
|
|
38
|
-
|
|
39
|
-
// export type ITestImpl<
|
|
40
|
-
// I extends Ibdd_in<
|
|
41
|
-
// unknown,
|
|
42
|
-
// unknown,
|
|
43
|
-
// unknown,
|
|
44
|
-
// unknown,
|
|
45
|
-
// unknown,
|
|
46
|
-
// unknown,
|
|
47
|
-
// unknown
|
|
48
|
-
// >,
|
|
49
|
-
// O extends Ibdd_out<
|
|
50
|
-
// Record<string, any>,
|
|
51
|
-
// Record<string, any>,
|
|
52
|
-
// Record<string, any>,
|
|
53
|
-
// Record<string, any>,
|
|
54
|
-
// Record<string, any>
|
|
55
|
-
// >
|
|
56
|
-
// > = ITestImplementation<I, O>;
|
|
57
|
-
|
|
58
|
-
// export type ITestSpec<
|
|
59
|
-
// I extends Ibdd_in<
|
|
60
|
-
// unknown,
|
|
61
|
-
// unknown,
|
|
62
|
-
// unknown,
|
|
63
|
-
// unknown,
|
|
64
|
-
// unknown,
|
|
65
|
-
// unknown,
|
|
66
|
-
// unknown
|
|
67
|
-
// >,
|
|
68
|
-
// O extends Ibdd_out<
|
|
69
|
-
// Record<string, any>,
|
|
70
|
-
// Record<string, any>,
|
|
71
|
-
// Record<string, any>,
|
|
72
|
-
// Record<string, any>,
|
|
73
|
-
// Record<string, any>
|
|
74
|
-
// >
|
|
75
|
-
// > = ITestSpecification<I, O>;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Node.js";
|
|
2
|
-
import {
|
|
3
|
-
IPartialInterface,
|
|
4
|
-
ITestImplementation,
|
|
5
|
-
ITestSpecification,
|
|
6
|
-
OT,
|
|
7
|
-
} from "../../../Types";
|
|
8
|
-
|
|
9
|
-
import { testInterface as baseInterface, I } from "./index.js";
|
|
10
|
-
|
|
11
|
-
export default <O extends OT, M = {}>(
|
|
12
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
13
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
14
|
-
testInput: I["iinput"],
|
|
15
|
-
testInterface: IPartialInterface<I> = baseInterface
|
|
16
|
-
) => {
|
|
17
|
-
return Testeranto<I, O, M>(
|
|
18
|
-
testInput,
|
|
19
|
-
testSpecifications,
|
|
20
|
-
testImplementations,
|
|
21
|
-
testInterface
|
|
22
|
-
);
|
|
23
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Pure.js";
|
|
2
|
-
import {
|
|
3
|
-
IPartialInterface,
|
|
4
|
-
ITestImplementation,
|
|
5
|
-
ITestSpecification,
|
|
6
|
-
OT,
|
|
7
|
-
} from "../../../Types";
|
|
8
|
-
|
|
9
|
-
import { testInterface as baseInterface, I } from "./index.js";
|
|
10
|
-
|
|
11
|
-
export default <O extends OT, M = {}>(
|
|
12
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
13
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
14
|
-
testInput: I["iinput"],
|
|
15
|
-
testInterface: IPartialInterface<I> = baseInterface
|
|
16
|
-
) => {
|
|
17
|
-
return Testeranto<I, O, M>(
|
|
18
|
-
testInput,
|
|
19
|
-
testSpecifications,
|
|
20
|
-
testImplementations,
|
|
21
|
-
testInterface
|
|
22
|
-
);
|
|
23
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import Testeranto from "../../../Web.js";
|
|
2
|
-
|
|
3
|
-
import {
|
|
4
|
-
IPartialInterface,
|
|
5
|
-
ITestImplementation,
|
|
6
|
-
ITestSpecification,
|
|
7
|
-
OT,
|
|
8
|
-
} from "../../../Types";
|
|
9
|
-
|
|
10
|
-
import { testInterface as baseInterface, I } from "./index.js";
|
|
11
|
-
|
|
12
|
-
export default <O extends OT, M = {}>(
|
|
13
|
-
testImplementations: ITestImplementation<I, O, M>,
|
|
14
|
-
testSpecifications: ITestSpecification<I, O>,
|
|
15
|
-
testInput: I["iinput"],
|
|
16
|
-
testInterface: IPartialInterface<I> = baseInterface
|
|
17
|
-
) => {
|
|
18
|
-
return Testeranto<I, O, M>(
|
|
19
|
-
testInput,
|
|
20
|
-
testSpecifications,
|
|
21
|
-
testImplementations,
|
|
22
|
-
testInterface
|
|
23
|
-
);
|
|
24
|
-
};
|