testeranto 0.189.0 → 0.197.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/ALL_LICENSES.txt +11246 -0
- package/LICENSE +21 -0
- package/default-project.json +44 -0
- package/design-editor/DesignEditor.tsx +247 -0
- package/design-editor/index.ts +2 -0
- package/design-editor/server.ts +121 -0
- package/design-editor/types.ts +16 -0
- package/designs/default-project.json +210 -0
- package/dist/common/design-editor/DesignEditor.js +239 -0
- package/dist/common/design-editor/index.js +18 -0
- package/dist/common/design-editor/server.js +98 -0
- package/dist/common/design-editor/types.js +2 -0
- package/dist/common/src/App.js +11 -1
- package/dist/common/src/PM/PM_WithEslintAndTsc.js +8 -1
- package/dist/common/src/PM/base.js +1 -0
- package/dist/common/src/PM/main.js +370 -4
- package/dist/common/src/PM/node.js +4 -2
- package/dist/common/src/PM/pure.js +15 -57
- package/dist/common/src/PM/web.js +5 -3
- package/dist/common/src/Pure.test.js +46 -78
- package/dist/common/src/ReportServer.js +8 -2
- package/dist/common/src/build.js +1 -1
- package/dist/common/src/components/DesignEditorPage.js +169 -0
- package/dist/common/src/components/pure/AppFrame.js +62 -13
- package/dist/common/src/components/pure/ModalContent.test/implementation.js +13 -11
- package/dist/common/src/components/pure/ModalContent.test/index.js +48 -2
- package/dist/common/src/components/pure/ModalContent.test/specification.js +2 -2
- package/dist/common/src/components/pure/NavBar.js +9 -10
- package/dist/common/src/components/pure/ProcessManager.js +112 -0
- package/dist/common/src/components/pure/ProcessManagerView.js +237 -0
- package/dist/common/src/components/pure/ProjectPageView.test/implementation.js +134 -106
- package/dist/common/src/components/pure/ProjectsPageView.js +18 -12
- package/dist/common/src/components/pure/SettingsButton.js +4 -74
- package/dist/common/src/components/pure/SingleProcessView.js +214 -0
- package/dist/common/src/components/pure/TestPageView.js +457 -78
- package/dist/common/src/components/pure/TestPageView.test/implementation.js +90 -135
- package/dist/common/src/components/stateful/FeaturesReporter.js +1 -1
- package/dist/common/src/components/stateful/FileTree.js +40 -0
- package/dist/common/src/components/stateful/ProcessManagerPage.js +112 -0
- package/dist/common/src/components/stateful/ProjectPage.js +6 -5
- package/dist/common/src/components/stateful/ProjectsPage.js +32 -6
- package/dist/common/src/components/stateful/SettingsPage.js +72 -0
- package/dist/common/src/components/stateful/SingleProcessPage.js +147 -0
- package/dist/common/src/components/stateful/TestPage.js +104 -8
- package/dist/common/src/components/stateful/TextEditorPage.js +154 -0
- package/dist/common/src/esbuildConfigs/inputFilesPlugin.js +3 -4
- package/dist/common/src/lib/BaseSuite.js +6 -3
- package/dist/common/src/lib/BaseSuite.test/mock.js +17 -30
- package/dist/common/src/lib/BaseSuite.test/test.js +33 -31
- package/dist/common/src/lib/abstractBase.js +28 -8
- package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +12 -6
- package/dist/common/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +12 -12
- package/dist/common/src/lib/basebuilder.js +1 -9
- package/dist/common/src/lib/classBuilder.js +3 -3
- package/dist/common/src/lib/core.js +3 -5
- package/dist/common/src/lib/index.js +11 -14
- package/dist/common/src/lib/pmProxy.js +37 -14
- package/dist/common/src/lib/pmProxy.test/adapter.js +12 -2
- package/dist/common/src/lib/pmProxy.test/implementation.js +73 -43
- package/dist/common/src/lib/pmProxy.test/specification.js +3 -0
- package/dist/common/src/utils/api.js +44 -33
- package/dist/common/src/utils/logFiles.js +48 -22
- package/dist/common/src/utils/makePrompt.js +5 -4
- package/dist/common/testeranto.config.js +15 -13
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/design-editor/DesignEditor.js +203 -0
- package/dist/module/design-editor/index.js +2 -0
- package/dist/module/design-editor/server.js +92 -0
- package/dist/module/src/App.js +11 -1
- package/dist/module/src/PM/PM_WithEslintAndTsc.js +8 -1
- package/dist/module/src/PM/base.js +1 -0
- package/dist/module/src/PM/main.js +370 -4
- package/dist/module/src/PM/node.js +4 -2
- package/dist/module/src/PM/pure.js +15 -57
- package/dist/module/src/PM/web.js +5 -3
- package/dist/module/src/Pure.test.js +46 -78
- package/dist/module/src/ReportServer.js +8 -2
- package/dist/module/src/build.js +1 -1
- package/dist/module/src/components/DesignEditorPage.js +132 -0
- package/dist/module/src/components/pure/AppFrame.js +30 -11
- package/dist/module/src/components/pure/ModalContent.test/implementation.js +13 -11
- package/dist/module/src/components/pure/ModalContent.test/index.js +48 -2
- package/dist/module/src/components/pure/ModalContent.test/specification.js +2 -2
- package/dist/module/src/components/pure/NavBar.js +10 -11
- package/dist/module/src/components/pure/ProcessManager.js +75 -0
- package/dist/module/src/components/pure/ProcessManagerView.js +200 -0
- package/dist/module/src/components/pure/ProjectPageView.test/implementation.js +134 -106
- package/dist/module/src/components/pure/ProjectsPageView.js +20 -14
- package/dist/module/src/components/pure/SettingsButton.js +5 -42
- package/dist/module/src/components/pure/SingleProcessView.js +214 -0
- package/dist/module/src/components/pure/TestPageView.js +425 -76
- package/dist/module/src/components/pure/TestPageView.test/implementation.js +90 -135
- package/dist/module/src/components/stateful/FeaturesReporter.js +1 -1
- package/dist/module/src/components/stateful/FileTree.js +33 -0
- package/dist/module/src/components/stateful/ProcessManagerPage.js +75 -0
- package/dist/module/src/components/stateful/ProjectPage.js +6 -5
- package/dist/module/src/components/stateful/ProjectsPage.js +32 -6
- package/dist/module/src/components/stateful/SettingsPage.js +35 -0
- package/dist/module/src/components/stateful/SingleProcessPage.js +110 -0
- package/dist/module/src/components/stateful/TestPage.js +104 -8
- package/dist/module/src/components/stateful/TextEditorPage.js +117 -0
- package/dist/module/src/esbuildConfigs/inputFilesPlugin.js +3 -4
- package/dist/module/src/lib/BaseSuite.js +6 -3
- package/dist/module/src/lib/BaseSuite.test/mock.js +17 -30
- package/dist/module/src/lib/BaseSuite.test/test.js +33 -31
- package/dist/module/src/lib/abstractBase.js +28 -8
- package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.adapter.js +12 -6
- package/dist/module/src/lib/baseBuilder.test/baseBuilder.test.implementation.js +12 -12
- package/dist/module/src/lib/basebuilder.js +1 -9
- package/dist/module/src/lib/classBuilder.js +3 -3
- package/dist/module/src/lib/core.js +3 -5
- package/dist/module/src/lib/index.js +11 -14
- package/dist/module/src/lib/pmProxy.js +37 -14
- package/dist/module/src/lib/pmProxy.test/adapter.js +12 -2
- package/dist/module/src/lib/pmProxy.test/implementation.js +73 -43
- package/dist/module/src/lib/pmProxy.test/specification.js +3 -0
- package/dist/module/src/utils/api.js +45 -34
- package/dist/module/src/utils/logFiles.js +45 -20
- package/dist/module/src/utils/makePrompt.js +5 -4
- package/dist/module/testeranto.config.js +15 -13
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/App.css +54 -513
- package/dist/prebuild/App.js +13296 -2438
- package/dist/prebuild/ReportServer.mjs +104 -6
- package/dist/prebuild/build.mjs +8 -5
- package/dist/prebuild/run.mjs +389 -37
- package/dist/types/design-editor/DesignEditor.d.ts +18 -0
- package/dist/types/design-editor/server.d.ts +1 -0
- package/dist/types/{PM → src/PM}/index.d.ts +1 -1
- package/dist/types/{PM → src/PM}/main.d.ts +19 -0
- package/dist/types/{PM → src/PM}/pure.d.ts +7 -7
- package/dist/types/{Pure.test.d.ts → src/Pure.test.d.ts} +13 -1
- package/dist/types/src/components/DesignEditorPage.d.ts +1 -0
- package/dist/types/{components → src/components}/pure/AppFrame.d.ts +3 -1
- package/dist/types/{components/pure/ProjectPageView.test → src/components/pure/ModalContent.test}/index.d.ts +2 -1
- package/dist/types/{components → src/components}/pure/NavBar.d.ts +4 -0
- package/dist/types/src/components/pure/ProcessManager.d.ts +8 -0
- package/dist/types/src/components/pure/ProcessManagerView.d.ts +20 -0
- package/dist/types/{components → src/components}/pure/ProjectsPageView.d.ts +1 -1
- package/dist/types/src/components/pure/SettingsButton.d.ts +2 -0
- package/dist/types/{components → src/components}/pure/TestPageView.test/implementation.d.ts +3 -2
- package/dist/types/src/components/pure/TestPageView.test/index.d.ts +3 -0
- package/dist/types/src/components/stateful/FileTree.d.ts +8 -0
- package/dist/types/src/components/stateful/ProcessManagerPage.d.ts +2 -0
- package/dist/types/src/components/stateful/SettingsPage.d.ts +2 -0
- package/dist/types/src/components/stateful/SingleProcessPage.d.ts +2 -0
- package/dist/types/src/components/stateful/TextEditorPage.d.ts +1 -0
- package/dist/types/{lib → src/lib}/BaseSuite.test/mock.d.ts +3 -3
- package/dist/types/{lib → src/lib}/basebuilder.d.ts +1 -1
- package/dist/types/{lib → src/lib}/index.d.ts +1 -1
- package/dist/types/{lib → src/lib}/pmProxy.test/mockPMBase.d.ts +1 -1
- package/dist/types/src/run.d.ts +1 -0
- package/dist/types/src/utils/logFiles.d.ts +71 -0
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/docs/test-page-components.md +91 -0
- package/package.json +27 -8
- package/src/App.tsx +11 -0
- package/src/PM/PM_WithEslintAndTsc.ts +9 -4
- package/src/PM/base.ts +1 -0
- package/src/PM/index.ts +1 -1
- package/src/PM/main.ts +424 -8
- package/src/PM/node.ts +5 -2
- package/src/PM/pure.ts +23 -61
- package/src/PM/web.ts +7 -3
- package/src/Pure.test.ts +63 -99
- package/src/README.md +20 -1
- package/src/ReportServer.ts +10 -3
- package/src/app.scss +169 -0
- package/src/build.ts +5 -1
- package/src/components/DesignEditorPage.tsx +169 -0
- package/src/components/pure/AppFrame.tsx +121 -16
- package/src/components/pure/ModalContent.test/implementation.tsx +14 -12
- package/src/components/pure/ModalContent.test/index.tsx +58 -6
- package/src/components/pure/ModalContent.test/specification.ts +2 -2
- package/src/components/pure/NavBar.tsx +31 -15
- package/src/components/pure/ProcessManager.tsx +117 -0
- package/src/components/pure/ProcessManagerView.tsx +414 -0
- package/src/components/pure/ProjectPageView.test/implementation.tsx +136 -106
- package/src/components/pure/ProjectPageView.test/index.tsx +0 -2
- package/src/components/pure/ProjectsPageView.tsx +41 -31
- package/src/components/pure/SettingsButton.tsx +7 -62
- package/src/components/pure/SingleProcessView.tsx +235 -0
- package/src/components/pure/TestPageView.test/implementation.ts +115 -147
- package/src/components/pure/TestPageView.test/specification.ts +0 -1
- package/src/components/pure/TestPageView.tsx +821 -100
- package/src/components/stateful/FeaturesReporter.tsx +1 -1
- package/src/components/stateful/FileTree.tsx +66 -0
- package/src/components/stateful/ProcessManagerPage.tsx +108 -0
- package/src/components/stateful/ProjectPage.tsx +6 -5
- package/src/components/stateful/ProjectsPage.tsx +36 -7
- package/src/components/stateful/SettingsPage.tsx +82 -0
- package/src/components/stateful/SingleProcessPage.tsx +155 -0
- package/src/components/stateful/TestPage.tsx +128 -20
- package/src/components/stateful/TextEditorPage.tsx +170 -0
- package/src/esbuildConfigs/inputFilesPlugin.ts +3 -4
- package/src/lib/BaseSuite.test/mock.ts +20 -41
- package/src/lib/BaseSuite.test/test.ts +38 -42
- package/src/lib/BaseSuite.ts +6 -3
- package/src/lib/abstractBase.ts +33 -14
- package/src/lib/baseBuilder.test/baseBuilder.test.adapter.ts +14 -7
- package/src/lib/baseBuilder.test/baseBuilder.test.implementation.ts +15 -14
- package/src/lib/basebuilder.ts +4 -9
- package/src/lib/classBuilder.ts +8 -10
- package/src/lib/core.ts +3 -19
- package/src/lib/index.ts +19 -19
- package/src/lib/pmProxy.test/adapter.ts +10 -2
- package/src/lib/pmProxy.test/implementation.ts +108 -57
- package/src/lib/pmProxy.test/mockPMBase.ts +1 -1
- package/src/lib/pmProxy.test/specification.ts +11 -0
- package/src/lib/pmProxy.ts +40 -15
- package/src/style.scss +3 -502
- package/src/templates/frontpage.html +317 -40
- package/src/templates/frontpage.md +79 -0
- package/src/themes.scss +40 -8
- package/src/utils/api.ts +47 -44
- package/src/utils/logFiles.ts +57 -23
- package/src/utils/makePrompt.ts +5 -4
- package/stargazers.txt +15 -0
- package/stargzers.js +68 -0
- package/testeranto/App.css +54 -513
- package/testeranto/App.js +13296 -2438
- package/testeranto/bundles/node/core/{chunk-L67RWZ4W.mjs → chunk-4CSH4UJE.mjs} +89 -116
- package/testeranto/bundles/node/core/{chunk-JBB5E3XJ.mjs → chunk-4JTDLQVA.mjs} +4 -9
- package/testeranto/bundles/node/core/chunk-C3APFDUV.mjs +70 -0
- package/testeranto/bundles/node/core/src/lib/BaseSuite.test/node.test.mjs +30 -42
- package/testeranto/bundles/node/core/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +27 -31
- package/testeranto/bundles/node/core/src/lib/classBuilder.test/classBuilder.test.mjs +4 -16
- package/testeranto/bundles/node/core/src/lib/core.test/core.test.mjs +16 -27
- package/testeranto/bundles/node/core/src/lib/pmProxy.test/index.mjs +468 -517
- package/testeranto/bundles/pure/core/{chunk-KHJ35R7C.mjs → chunk-62UVCSQC.mjs} +97 -72
- package/testeranto/bundles/pure/core/src/Pure.test.mjs +56 -74
- package/testeranto/bundles/pure/core/src/lib/BaseSuite.test/pure.test.mjs +39 -66
- package/testeranto/bundles/pure/core/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +25 -19
- package/testeranto/metafiles/node/core.json +2906 -0
- package/testeranto/{bundles/pure/core/metafile.json → metafiles/pure/core.json} +66 -81
- package/testeranto/metafiles/web/core.json +546 -0
- package/testeranto/reports/core/config.json +0 -24
- package/testeranto/reports/core/src/Pure.test/pure/prompt.txt +1 -1
- package/testeranto/reports/core/src/Pure.test/pure/type_errors.txt +59 -94
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/error.log +2 -55
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/info.log +0 -2
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/error.log +3 -33
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/info.log +0 -4
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/error.log +3 -0
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/info.log +0 -2
- package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/prompt.txt +2 -2
- package/testeranto/reports/core/src/lib/BaseSuite.test/node.test/node/type_errors.txt +38 -90
- package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/prompt.txt +1 -1
- package/testeranto/reports/core/src/lib/BaseSuite.test/pure.test/pure/type_errors.txt +38 -90
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/error.log +2 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +10 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +3 -3
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/stdout.log +6 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +4 -4
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +22 -45
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +10 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +1 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +22 -45
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/error.log +2 -0
- package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/prompt.txt +4 -4
- package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/tests.json +10 -10
- package/testeranto/reports/core/src/lib/classBuilder.test/classBuilder.test/node/type_errors.txt +38 -90
- package/testeranto/reports/core/src/lib/core.test/core.test/node/prompt.txt +4 -4
- package/testeranto/reports/core/src/lib/core.test/core.test/node/type_errors.txt +5 -24
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/lint_errors.txt +6 -14
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/prompt.txt +3 -3
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stderr.log +88 -0
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/stdout.log +10 -0
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/tests.json +33 -43
- package/testeranto/reports/core/src/lib/pmProxy.test/index/node/type_errors.txt +17 -43
- package/testeranto/reports/core/summary.json +15 -51
- package/testeranto/reportsweb_build_errors +546 -0
- package/testeranto.config.ts +16 -13
- package/tsc.log +37 -16
- package/tsconfig.json +3 -2
- package/CNAME +0 -1
- package/README.html +0 -302
- package/dist/common/src/PM/layers/base/PM_Base.js +0 -1
- package/dist/common/src/PM/layers/base/components/PageOperations.js +0 -1
- package/dist/common/src/PM/layers/base/components/PageOperations.testeranto.js +0 -1
- package/dist/common/src/PM/layers/linting/components/Linter.js +0 -1
- package/dist/common/src/PM/layers/linting/components/TypeChecker.js +0 -1
- package/dist/common/src/PM/layers/main/components/SidecarManager.js +0 -1
- package/dist/common/src/PM/layers/main/components/TestRunner.js +0 -1
- package/dist/module/src/PM/layers/base/PM_Base.js +0 -1
- package/dist/module/src/PM/layers/base/components/PageOperations.js +0 -1
- package/dist/module/src/PM/layers/base/components/PageOperations.testeranto.js +0 -1
- package/dist/module/src/PM/layers/linting/components/Linter.js +0 -1
- package/dist/module/src/PM/layers/linting/components/TypeChecker.js +0 -1
- package/dist/module/src/PM/layers/main/components/SidecarManager.js +0 -1
- package/dist/module/src/PM/layers/main/components/TestRunner.js +0 -1
- package/dist/tsconfig.tsbuildinfo +0 -1
- package/dist/types/PM/layers/base/components/PageOperations.d.ts +0 -0
- package/dist/types/PM/layers/base/components/PageOperations.testeranto.d.ts +0 -0
- package/dist/types/PM/layers/linting/components/Linter.d.ts +0 -0
- package/dist/types/PM/layers/linting/components/TypeChecker.d.ts +0 -0
- package/dist/types/PM/layers/main/components/SidecarManager.d.ts +0 -0
- package/dist/types/PM/layers/main/components/TestRunner.d.ts +0 -0
- package/dist/types/components/pure/SettingsButton.d.ts +0 -3
- package/dist/types/components/pure/TestPageView.test/index.d.ts +0 -32
- package/dist/types/utils/logFiles.d.ts +0 -7
- package/docs.html +0 -590
- package/example.css +0 -351
- package/index.html +0 -138
- package/scripts/compile-docs.js +0 -150
- package/smil30/SMIL-anim.mod.xsd +0 -163
- package/smil30/SMIL-control.mod.xsd +0 -73
- package/smil30/SMIL-layout.mod.xsd +0 -149
- package/smil30/SMIL-link.mod.xsd +0 -145
- package/smil30/SMIL-media.mod.xsd +0 -1646
- package/smil30/SMIL-metainformation.mod.xsd +0 -45
- package/smil30/SMIL-smiltext.mod.xsd +0 -353
- package/smil30/SMIL-state.mod.xsd +0 -133
- package/smil30/SMIL-struct.mod.xsd +0 -70
- package/smil30/SMIL-timing.mod.xsd +0 -105
- package/smil30/SMIL-transition.mod.xsd +0 -229
- package/smil30/SMIL.xsd +0 -63
- package/smil30/its.xsd +0 -42
- package/smil30/smil-attribs-1.mod.xsd +0 -610
- package/smil30/smil-datatypes-1.mod.xsd +0 -72
- package/smil30/smil-framework-1.mod.xsd +0 -45
- package/smil30/xml.xsd +0 -16
- package/src/App.scss +0 -123
- package/src/PM/layers/base/PM_Base.ts +0 -0
- package/src/PM/layers/base/components/PageOperations.testeranto.ts +0 -0
- package/src/PM/layers/base/components/PageOperations.ts +0 -0
- package/src/PM/layers/linting/components/Linter.ts +0 -0
- package/src/PM/layers/linting/components/TypeChecker.ts +0 -0
- package/src/PM/layers/main/components/SidecarManager.ts +0 -0
- package/src/PM/layers/main/components/TestRunner.ts +0 -0
- package/src/fonts.scss +0 -55
- package/style.css +0 -12175
- package/testeranto/bundles/node/core/chunk-ZQRRQYS4.mjs +0 -92
- package/testeranto/bundles/node/core/metafile.json +0 -5735
- package/testeranto/bundles/node/core/src/mothership/test.mjs +0 -24588
- package/testeranto/bundles/web/core/MPLUSRounded1c-Black-O75GP5JI.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-Bold-R524Q5BH.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-ExtraBold-C6GRMYVT.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-Light-WKN65Y2C.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-Medium-ZC4DWL7C.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-Regular-DT6EKZ3S.ttf +0 -0
- package/testeranto/bundles/web/core/MPLUSRounded1c-Thin-YWDNVG6M.ttf +0 -0
- package/testeranto/bundles/web/core/chunk-BADF3AZF.mjs +0 -108
- package/testeranto/bundles/web/core/chunk-BXV27S2S.mjs +0 -6252
- package/testeranto/bundles/web/core/chunk-EIYZKF2C.mjs +0 -223
- package/testeranto/bundles/web/core/chunk-FNXFUNA7.mjs +0 -28528
- package/testeranto/bundles/web/core/chunk-LU364HVS.mjs +0 -3311
- package/testeranto/bundles/web/core/chunk-QWII7WIM.mjs +0 -2281
- package/testeranto/bundles/web/core/chunk-VAYOSMXI.mjs +0 -21775
- package/testeranto/bundles/web/core/metafile.json +0 -18227
- package/testeranto/bundles/web/core/src/components/pure/AppFrame.test/index.css +0 -12105
- package/testeranto/bundles/web/core/src/components/pure/AppFrame.test/index.html +0 -15
- package/testeranto/bundles/web/core/src/components/pure/AppFrame.test/index.mjs +0 -517
- package/testeranto/bundles/web/core/src/components/pure/FeaturesReporterView.test/index.mjs +0 -166
- package/testeranto/bundles/web/core/src/components/pure/ModalContent.test/index.css +0 -12105
- package/testeranto/bundles/web/core/src/components/pure/ModalContent.test/index.html +0 -15
- package/testeranto/bundles/web/core/src/components/pure/ModalContent.test/index.mjs +0 -93
- package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.css +0 -12105
- package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.mjs +0 -343
- package/testeranto/bundles/web/core/src/components/pure/TestPageView.test/index.css +0 -12105
- package/testeranto/bundles/web/core/src/components/pure/TestPageView.test/index.mjs +0 -483
- package/testeranto/bundles/web/core/src/lib/BaseSuite.test/web.test.mjs +0 -394
- package/testeranto/bundles/web/core/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +0 -256
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/debug.log +0 -0
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/error.log +0 -22
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/exit.log +0 -1
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/info.log +0 -4
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/lint_errors.txt +0 -2
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/message.txt +0 -17
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/prompt.txt +0 -18
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/tests.json +0 -57
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/type_errors.txt +0 -55
- package/testeranto/reports/core/src/components/pure/AppFrame.test/index/web/warn.log +0 -0
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/message.txt +0 -17
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/prompt.txt +0 -16
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/suite-0/given-basicRender/then-4/butThen/features-reporter.png +0 -0
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/tests.json +0 -76
- package/testeranto/reports/core/src/components/pure/FeaturesReporterView.test/index/web/type_errors.txt +0 -80
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/debug.log +0 -0
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/error.log +0 -0
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/exit.log +0 -0
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/info.log +0 -4
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/message.txt +0 -17
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/prompt.txt +0 -15
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/suite-0/given-basicRender/then-2/butThen/modal-content.png +0 -0
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/tests.json +0 -42
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/type_errors.txt +0 -65
- package/testeranto/reports/core/src/components/pure/ModalContent.test/index/web/warn.log +0 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +0 -2
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/message.txt +0 -17
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/prompt.txt +0 -16
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/suite-0/given-basicRender/then-6/butThen/happy-state.png +0 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/suite-0/given-errorHandling/then-1/butThen/error-state.png +0 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/tests.json +0 -99
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/type_errors.txt +0 -91
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/message.txt +0 -17
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/prompt.txt +0 -18
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/tests.json +0 -69
- package/testeranto/reports/core/src/components/pure/TestPageView.test/index/web/type_errors.txt +0 -111
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/message.txt +0 -17
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/prompt.txt +0 -15
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/tests.json +0 -31
- package/testeranto/reports/core/src/lib/BaseSuite.test/web.test/web/type_errors.txt +0 -113
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +0 -17
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +0 -17
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +0 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-1/butThen/artifact_test.txt +0 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +0 -71
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +0 -65
- package/testeranto/reports/core/src/mothership/test/node/exit.log +0 -1
- package/testeranto/reports/core/src/mothership/test/node/lint_errors.txt +0 -0
- package/testeranto/reports/core/src/mothership/test/node/message.txt +0 -17
- package/testeranto/reports/core/src/mothership/test/node/prompt.txt +0 -14
- package/testeranto/reports/core/src/mothership/test/node/stderr.log +0 -27
- package/testeranto/reports/core/src/mothership/test/node/stdout.log +0 -8
- package/testeranto/reports/core/src/mothership/test/node/tests.json +0 -36
- package/testeranto/reports/core/src/mothership/test/node/type_errors.txt +0 -38
- package/videos/download-smil-xsd.sh +0 -29
- package/videos/project0/index.md +0 -72
- package/videos/project0/narration.json +0 -7
- package/videos/project0/narration.ssml +0 -58
- package/videos/project0/package.json +0 -21
- package/videos/project0/presentation.smil +0 -25
- package/videos/project0/smil30/SMIL-anim.mod.xsd +0 -163
- package/videos/project0/smil30/SMIL-anim.mod.xsd.1 +0 -163
- package/videos/project0/smil30/SMIL-anim.mod.xsd.2 +0 -163
- package/videos/project0/smil30/SMIL-control.mod.xsd +0 -73
- package/videos/project0/smil30/SMIL-control.mod.xsd.1 +0 -73
- package/videos/project0/smil30/SMIL-control.mod.xsd.2 +0 -73
- package/videos/project0/smil30/SMIL-layout.mod.xsd +0 -149
- package/videos/project0/smil30/SMIL-layout.mod.xsd.1 +0 -149
- package/videos/project0/smil30/SMIL-layout.mod.xsd.2 +0 -149
- package/videos/project0/smil30/SMIL-link.mod.xsd +0 -145
- package/videos/project0/smil30/SMIL-link.mod.xsd.1 +0 -145
- package/videos/project0/smil30/SMIL-link.mod.xsd.2 +0 -145
- package/videos/project0/smil30/SMIL-media.mod.xsd +0 -1646
- package/videos/project0/smil30/SMIL-media.mod.xsd.1 +0 -1646
- package/videos/project0/smil30/SMIL-media.mod.xsd.2 +0 -1646
- package/videos/project0/smil30/SMIL-metainformation.mod.xsd +0 -45
- package/videos/project0/smil30/SMIL-metainformation.mod.xsd.1 +0 -45
- package/videos/project0/smil30/SMIL-metainformation.mod.xsd.2 +0 -45
- package/videos/project0/smil30/SMIL-smiltext.mod.xsd +0 -353
- package/videos/project0/smil30/SMIL-smiltext.mod.xsd.1 +0 -353
- package/videos/project0/smil30/SMIL-smiltext.mod.xsd.2 +0 -353
- package/videos/project0/smil30/SMIL-state.mod.xsd +0 -133
- package/videos/project0/smil30/SMIL-state.mod.xsd.1 +0 -133
- package/videos/project0/smil30/SMIL-state.mod.xsd.2 +0 -133
- package/videos/project0/smil30/SMIL-struct.mod.xsd +0 -70
- package/videos/project0/smil30/SMIL-struct.mod.xsd.1 +0 -70
- package/videos/project0/smil30/SMIL-struct.mod.xsd.2 +0 -70
- package/videos/project0/smil30/SMIL-timing.mod.xsd +0 -105
- package/videos/project0/smil30/SMIL-timing.mod.xsd.1 +0 -105
- package/videos/project0/smil30/SMIL-timing.mod.xsd.2 +0 -105
- package/videos/project0/smil30/SMIL-transition.mod.xsd +0 -229
- package/videos/project0/smil30/SMIL-transition.mod.xsd.1 +0 -229
- package/videos/project0/smil30/SMIL-transition.mod.xsd.2 +0 -229
- package/videos/project0/smil30/SMIL.xsd +0 -63
- package/videos/project0/smil30/SMIL.xsd.1 +0 -63
- package/videos/project0/smil30/SMIL.xsd.2 +0 -63
- package/videos/project0/smil30/its.xsd +0 -42
- package/videos/project0/smil30/its.xsd.1 +0 -42
- package/videos/project0/smil30/its.xsd.2 +0 -42
- package/videos/project0/smil30/smil-attribs-1.mod.xsd +0 -610
- package/videos/project0/smil30/smil-attribs-1.mod.xsd.1 +0 -610
- package/videos/project0/smil30/smil-attribs-1.mod.xsd.2 +0 -610
- package/videos/project0/smil30/smil-datatypes-1.mod.xsd +0 -72
- package/videos/project0/smil30/smil-datatypes-1.mod.xsd.1 +0 -72
- package/videos/project0/smil30/smil-datatypes-1.mod.xsd.2 +0 -72
- package/videos/project0/smil30/smil-framework-1.mod.xsd +0 -45
- package/videos/project0/smil30/smil-framework-1.mod.xsd.1 +0 -45
- package/videos/project0/smil30/smil-framework-1.mod.xsd.2 +0 -45
- package/videos/project0/smil30/smil-profile-model-1.mod.xsd +0 -1331
- package/videos/project0/smil30/smil-profile-model-1.mod.xsd.1 +0 -1331
- package/videos/project0/smil30/smil-qname-1.mod.xsd +0 -121
- package/videos/project0/smil30/smil-qname-1.mod.xsd.1 +0 -121
- package/videos/project0/smil30/xml.xsd +0 -16
- package/videos/project0/smil30/xml.xsd.1 +0 -16
- package/videos/project0/smil30/xml.xsd.2 +0 -16
- package/videos/project0/smil30.xsd +0 -137
- package/videos/project0/src/audio/metadata.json +0 -5
- package/videos/project0/src/audio/narration.mp3 +0 -0
- package/videos/project0/src/motion-canvas.d.ts +0 -1
- package/videos/project0/src/project.meta +0 -31
- package/videos/project0/src/project.ts +0 -13
- package/videos/project0/src/scenes/example.meta +0 -5
- package/videos/project0/src/scenes/scene1.meta +0 -3
- package/videos/project0/src/scenes/scene1.tsx +0 -129
- package/videos/project0/src/scenes/scene2.tsx +0 -132
- package/videos/project0/src/scenes/scene3.meta +0 -26
- package/videos/project0/src/scenes/scene3.tsx +0 -188
- package/videos/project0/tsconfig.json +0 -4
- package/videos/project0/vite.config.ts +0 -10
- package/videos/trash/output/project.mp4 +0 -0
- package/videos/trash/text.mp4 +0 -0
- package/videos/trash/video/project.tsx +0 -549
- package/videos/trash/video/render.ts +0 -15
- package/videos/trash/vite.config.ts +0 -10
- package/videos/tts.js +0 -109
- /package/dist/{types/ReportServer.d.ts → module/design-editor/types.js} +0 -0
- /package/dist/types/{App.d.ts → src/App.d.ts} +0 -0
- /package/dist/types/{CoreTypes.d.ts → src/CoreTypes.d.ts} +0 -0
- /package/dist/types/{Init.d.ts → src/Init.d.ts} +0 -0
- /package/dist/types/{Node.d.ts → src/Node.d.ts} +0 -0
- /package/dist/types/{NodeSidecar.d.ts → src/NodeSidecar.d.ts} +0 -0
- /package/dist/types/{PM → src/PM}/PM_WithEslintAndTsc.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/__tests__/nodeSidecar.testeranto.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/__tests__/pureSidecar.testeranto.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/__tests__/webSidecar.testeranto.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/base.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/node.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/nodeSidecar.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/pureSidecar.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/sidecar.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/types.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/web.d.ts +0 -0
- /package/dist/types/{PM → src/PM}/webSidecar.d.ts +0 -0
- /package/dist/types/{Pure.d.ts → src/Pure.d.ts} +0 -0
- /package/dist/types/{PureSidecar.d.ts → src/PureSidecar.d.ts} +0 -0
- /package/dist/types/{build.d.ts → src/ReportServer.d.ts} +0 -0
- /package/dist/types/{ReportServer.test.ts → src/ReportServer.test.ts}/index.d.ts +0 -0
- /package/dist/types/{ReportServerLib.d.ts → src/ReportServerLib.d.ts} +0 -0
- /package/dist/types/{Types.d.ts → src/Types.d.ts} +0 -0
- /package/dist/types/{Web.d.ts → src/Web.d.ts} +0 -0
- /package/dist/types/{WebSidecar.d.ts → src/WebSidecar.d.ts} +0 -0
- /package/dist/types/{init-docs.d.ts → src/build.d.ts} +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.d.ts +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.test/implementation.d.ts +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.test/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.test/interface.d.ts +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/SunriseAnimation.test/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/TestStatusBadge.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/AppFrame.test/implementation.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/AppFrame.test/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/AppFrame.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/AppFrame.test/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/FeaturesReporterView.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/FeaturesReporterView.test/implementation.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/FeaturesReporterView.test/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/FeaturesReporterView.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/FeaturesReporterView.test/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ModalContent.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ModalContent.test/implementation.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ModalContent.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ModalContent.test/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ProjectPageView.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ProjectPageView.test/implementation.d.ts +0 -0
- /package/dist/types/{components/pure/ModalContent.test → src/components/pure/ProjectPageView.test}/index.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ProjectPageView.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ProjectPageView.test/types.d.ts +0 -0
- /package/dist/types/{PM/layers/base/PM_Base.d.ts → src/components/pure/SingleProcessView.d.ts} +0 -0
- /package/dist/types/{components → src/components}/pure/TestPageView.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/TestPageView.test/specification.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/TestPageView.test/types.d.ts +0 -0
- /package/dist/types/{components → src/components}/pure/ThemeCard.d.ts +0 -0
- /package/dist/types/{components → src/components}/stateful/FeaturesReporter.d.ts +0 -0
- /package/dist/types/{components → src/components}/stateful/ProjectPage.d.ts +0 -0
- /package/dist/types/{components → src/components}/stateful/ProjectsPage.d.ts +0 -0
- /package/dist/types/{components → src/components}/stateful/TestPage.d.ts +0 -0
- /package/dist/types/{defaultConfig.d.ts → src/defaultConfig.d.ts} +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/consoleDetectorPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/eslint-formatter-testeranto.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/featuresPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/index.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/inputFilesPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/nativeImportDetectorPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/node.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/pure.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/rebuildPlugin.d.ts +0 -0
- /package/dist/types/{esbuildConfigs → src/esbuildConfigs}/web.d.ts +0 -0
- /package/dist/types/{run.d.ts → src/init-docs.d.ts} +0 -0
- /package/dist/types/{lib → src/lib}/BaseSuite.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/BaseSuite.test/node.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/BaseSuite.test/pure.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/BaseSuite.test/test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/BaseSuite.test/web.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/Sidecar.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/MockGiven.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/MockThen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/MockWhen.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/index.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/abstractBase.test/types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.mock.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.node.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.pure.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/baseBuilder.test/baseBuilder.test.web.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/classBuilder.test.adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/classBuilder.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/classBuilder.test.implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/classBuilder.test.specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/classBuilder.test.types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/classBuilder.test/mock.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/MockCore.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/core.test.adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/core.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/core.test.implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/core.test.specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/core.test/core.test.types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/mocks.test.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/adapter.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/implementation.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/index.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/mockPM.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/specification.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/pmProxy.test/types.d.ts +0 -0
- /package/dist/types/{lib → src/lib}/types.d.ts +0 -0
- /package/dist/types/{mothership → src/mothership}/index.d.ts +0 -0
- /package/dist/types/{mothership → src/mothership}/test.d.ts +0 -0
- /package/dist/types/{types → src/types}/features.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/api.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/buildTemplates.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/featureUtils.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/makePrompt.d.ts +0 -0
- /package/dist/types/{utils → src/utils}/queue.d.ts +0 -0
- /package/dist/types/{utils.d.ts → src/utils.d.ts} +0 -0
- /package/dist/types/{web.html.d.ts → src/web.html.d.ts} +0 -0
|
@@ -1,52 +1,17 @@
|
|
|
1
1
|
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
|
-
var __create = Object.create;
|
|
3
2
|
var __defProp = Object.defineProperty;
|
|
4
|
-
var
|
|
5
|
-
var
|
|
6
|
-
|
|
7
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
-
var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require : typeof Proxy !== "undefined" ? new Proxy(x, {
|
|
9
|
-
get: (a, b) => (typeof require !== "undefined" ? require : a)[b]
|
|
10
|
-
}) : x)(function(x) {
|
|
11
|
-
if (typeof require !== "undefined")
|
|
12
|
-
return require.apply(this, arguments);
|
|
13
|
-
throw new Error('Dynamic require of "' + x + '" is not supported');
|
|
14
|
-
});
|
|
15
|
-
var __esm = (fn, res) => function __init() {
|
|
16
|
-
return fn && (res = (0, fn[__getOwnPropNames(fn)[0]])(fn = 0)), res;
|
|
17
|
-
};
|
|
18
|
-
var __commonJS = (cb, mod) => function __require2() {
|
|
19
|
-
return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
|
|
20
|
-
};
|
|
21
|
-
var __copyProps = (to, from, except, desc) => {
|
|
22
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
23
|
-
for (let key of __getOwnPropNames(from))
|
|
24
|
-
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
25
|
-
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
26
|
-
}
|
|
27
|
-
return to;
|
|
3
|
+
var __export = (target, all) => {
|
|
4
|
+
for (var name in all)
|
|
5
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
28
6
|
};
|
|
29
|
-
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
30
|
-
// If the importer is in node compatibility mode or this is not an ESM
|
|
31
|
-
// file that has been converted to a CommonJS file using a Babel-
|
|
32
|
-
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
33
|
-
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
34
|
-
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
35
|
-
mod
|
|
36
|
-
));
|
|
37
7
|
|
|
38
8
|
// dist/cjs-shim.js
|
|
39
9
|
import path from "node:path";
|
|
40
10
|
import url from "node:url";
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
|
44
|
-
globalThis.__dirname = path.dirname(__filename);
|
|
45
|
-
}
|
|
46
|
-
});
|
|
11
|
+
globalThis.__filename = url.fileURLToPath(import.meta.url);
|
|
12
|
+
globalThis.__dirname = path.dirname(__filename);
|
|
47
13
|
|
|
48
14
|
// src/lib/pmProxy.ts
|
|
49
|
-
init_cjs_shim();
|
|
50
15
|
var baseProxy = function(pm, mappings) {
|
|
51
16
|
return new Proxy(pm, {
|
|
52
17
|
get: (target, prop, receiver) => {
|
|
@@ -54,10 +19,15 @@ var baseProxy = function(pm, mappings) {
|
|
|
54
19
|
const method = mapping[0];
|
|
55
20
|
const arger = mapping[1];
|
|
56
21
|
if (prop === method) {
|
|
57
|
-
return (...x) =>
|
|
22
|
+
return (...x) => {
|
|
23
|
+
const modifiedArgs = arger(...x);
|
|
24
|
+
return target[prop](...modifiedArgs);
|
|
25
|
+
};
|
|
58
26
|
}
|
|
59
27
|
}
|
|
60
|
-
return (...x) =>
|
|
28
|
+
return (...x) => {
|
|
29
|
+
return target[prop](...x);
|
|
30
|
+
};
|
|
61
31
|
}
|
|
62
32
|
});
|
|
63
33
|
};
|
|
@@ -87,10 +57,24 @@ var butThenProxy = (pm, filepath, addArtifact) => {
|
|
|
87
57
|
],
|
|
88
58
|
[
|
|
89
59
|
"writeFileSync",
|
|
90
|
-
(fp, contents) => {
|
|
60
|
+
(fp, contents, testName) => {
|
|
61
|
+
console.log(
|
|
62
|
+
`[DEBUG] butThenProxy writeFileSync: fp="${fp}" (type: ${typeof fp}), contents="${contents}" (type: ${typeof contents}), testName="${testName}" (type: ${typeof testName})`
|
|
63
|
+
);
|
|
64
|
+
if (typeof fp !== "string") {
|
|
65
|
+
console.log(`[ERROR] fp is not a string:`, fp);
|
|
66
|
+
if (Array.isArray(fp)) {
|
|
67
|
+
fp = fp.join("");
|
|
68
|
+
console.log(`[DEBUG] Converted array to string: "${fp}"`);
|
|
69
|
+
} else {
|
|
70
|
+
fp = String(fp);
|
|
71
|
+
console.log(`[DEBUG] Converted to string: "${fp}"`);
|
|
72
|
+
}
|
|
73
|
+
}
|
|
91
74
|
const path2 = `${filepath}/butThen/${fp}`;
|
|
75
|
+
console.log(`[DEBUG] Generated path: "${path2}"`);
|
|
92
76
|
addArtifact(path2);
|
|
93
|
-
return [path2, contents];
|
|
77
|
+
return [path2, contents, testName];
|
|
94
78
|
}
|
|
95
79
|
],
|
|
96
80
|
[
|
|
@@ -135,10 +119,10 @@ var andWhenProxy = (pm, filepath, addArtifact) => {
|
|
|
135
119
|
],
|
|
136
120
|
[
|
|
137
121
|
"writeFileSync",
|
|
138
|
-
(fp, contents) => {
|
|
122
|
+
(fp, contents, testName) => {
|
|
139
123
|
const path2 = `${filepath}/andWhen/${fp}`;
|
|
140
124
|
addArtifact(path2);
|
|
141
|
-
return [path2, contents];
|
|
125
|
+
return [path2, contents, testName];
|
|
142
126
|
}
|
|
143
127
|
],
|
|
144
128
|
[
|
|
@@ -183,10 +167,10 @@ var afterEachProxy = (pm, suite, given, addArtifact) => {
|
|
|
183
167
|
],
|
|
184
168
|
[
|
|
185
169
|
"writeFileSync",
|
|
186
|
-
(fp, contents) => {
|
|
170
|
+
(fp, contents, testName) => {
|
|
187
171
|
const path2 = `suite-${suite}/given-${given}/afterEach/${fp}`;
|
|
188
172
|
addArtifact(path2);
|
|
189
|
-
return [path2, contents];
|
|
173
|
+
return [path2, contents, testName];
|
|
190
174
|
}
|
|
191
175
|
],
|
|
192
176
|
[
|
|
@@ -223,10 +207,10 @@ var beforeEachProxy = (pm, suite, addArtifact) => {
|
|
|
223
207
|
],
|
|
224
208
|
[
|
|
225
209
|
"writeFileSync",
|
|
226
|
-
(fp, contents) => {
|
|
210
|
+
(fp, contents, testName) => {
|
|
227
211
|
const path2 = `suite-${suite}/beforeEach/${fp}`;
|
|
228
212
|
addArtifact(path2);
|
|
229
|
-
return [path2, contents];
|
|
213
|
+
return [path2, contents, testName];
|
|
230
214
|
}
|
|
231
215
|
],
|
|
232
216
|
[
|
|
@@ -257,10 +241,10 @@ var beforeAllProxy = (pm, suite, addArtifact) => {
|
|
|
257
241
|
return baseProxy(pm, [
|
|
258
242
|
[
|
|
259
243
|
"writeFileSync",
|
|
260
|
-
(fp, contents) => {
|
|
244
|
+
(fp, contents, testName) => {
|
|
261
245
|
const path2 = `suite-${suite}/beforeAll/${fp}`;
|
|
262
246
|
addArtifact(path2);
|
|
263
|
-
return [path2, contents];
|
|
247
|
+
return [path2, contents, testName];
|
|
264
248
|
}
|
|
265
249
|
],
|
|
266
250
|
[
|
|
@@ -299,10 +283,10 @@ var afterAllProxy = (pm, suite, addArtifact) => {
|
|
|
299
283
|
],
|
|
300
284
|
[
|
|
301
285
|
"writeFileSync",
|
|
302
|
-
(fp, contents) => {
|
|
286
|
+
(fp, contents, testName) => {
|
|
303
287
|
const path2 = `suite-${suite}/afterAll/${fp}`;
|
|
304
288
|
addArtifact(path2);
|
|
305
|
-
return [path2, contents];
|
|
289
|
+
return [path2, contents, testName];
|
|
306
290
|
}
|
|
307
291
|
],
|
|
308
292
|
[
|
|
@@ -322,11 +306,7 @@ var afterAllProxy = (pm, suite, addArtifact) => {
|
|
|
322
306
|
]);
|
|
323
307
|
};
|
|
324
308
|
|
|
325
|
-
// src/lib/classBuilder.ts
|
|
326
|
-
init_cjs_shim();
|
|
327
|
-
|
|
328
309
|
// src/lib/basebuilder.ts
|
|
329
|
-
init_cjs_shim();
|
|
330
310
|
var BaseBuilder = class {
|
|
331
311
|
constructor(input, suitesOverrides, givenOverides, whenOverides, thenOverides, testResourceRequirement, testSpecification) {
|
|
332
312
|
this.artifacts = [];
|
|
@@ -379,10 +359,11 @@ var BaseBuilder = class {
|
|
|
379
359
|
try {
|
|
380
360
|
const suiteDone = await runner(puppetMaster, tLog);
|
|
381
361
|
const fails = suiteDone.fails;
|
|
382
|
-
await puppetMaster.writeFileSync(
|
|
362
|
+
await puppetMaster.writeFileSync(
|
|
383
363
|
`tests.json`,
|
|
384
|
-
JSON.stringify(this.toObj(), null, 2)
|
|
385
|
-
|
|
364
|
+
JSON.stringify(this.toObj(), null, 2),
|
|
365
|
+
"test"
|
|
366
|
+
);
|
|
386
367
|
return {
|
|
387
368
|
failed: fails > 0,
|
|
388
369
|
fails,
|
|
@@ -461,7 +442,7 @@ var ClassBuilder = class extends BaseBuilder {
|
|
|
461
442
|
(a, [key, whEn]) => {
|
|
462
443
|
a[key] = (...payload) => {
|
|
463
444
|
return new whenKlasser.prototype.constructor(
|
|
464
|
-
`${
|
|
445
|
+
`${key}: ${payload && payload.toString()}`,
|
|
465
446
|
whEn(...payload)
|
|
466
447
|
);
|
|
467
448
|
};
|
|
@@ -469,14 +450,12 @@ var ClassBuilder = class extends BaseBuilder {
|
|
|
469
450
|
},
|
|
470
451
|
{}
|
|
471
452
|
);
|
|
472
|
-
const classyThens = Object.entries(
|
|
473
|
-
testImplementation.thens
|
|
474
|
-
).reduce(
|
|
453
|
+
const classyThens = Object.entries(testImplementation.thens).reduce(
|
|
475
454
|
(a, [key, thEn]) => {
|
|
476
|
-
a[key] = (
|
|
455
|
+
a[key] = (...args) => {
|
|
477
456
|
return new thenKlasser.prototype.constructor(
|
|
478
|
-
`${
|
|
479
|
-
thEn(
|
|
457
|
+
`${key}: ${args && args.toString()}`,
|
|
458
|
+
thEn(...args)
|
|
480
459
|
);
|
|
481
460
|
};
|
|
482
461
|
return a;
|
|
@@ -496,7 +475,6 @@ var ClassBuilder = class extends BaseBuilder {
|
|
|
496
475
|
};
|
|
497
476
|
|
|
498
477
|
// src/lib/BaseSuite.ts
|
|
499
|
-
init_cjs_shim();
|
|
500
478
|
var BaseSuite = class {
|
|
501
479
|
constructor(name, index, givens = {}) {
|
|
502
480
|
this.artifacts = [];
|
|
@@ -510,7 +488,6 @@ var BaseSuite = class {
|
|
|
510
488
|
this.fails = 0;
|
|
511
489
|
}
|
|
512
490
|
addArtifact(path2) {
|
|
513
|
-
console.log("Suite addArtifact", path2);
|
|
514
491
|
const normalizedPath = path2.replace(/\\/g, "/");
|
|
515
492
|
this.artifacts.push(normalizedPath);
|
|
516
493
|
}
|
|
@@ -548,7 +525,8 @@ var BaseSuite = class {
|
|
|
548
525
|
this.testResourceConfiguration = testResourceConfiguration;
|
|
549
526
|
const suiteArtifactory = (fPath, value) => artifactory(`suite-${this.index}-${this.name}/${fPath}`, value);
|
|
550
527
|
const sNdx = this.index;
|
|
551
|
-
const
|
|
528
|
+
const addArtifact = this.addArtifact.bind(this);
|
|
529
|
+
const proxiedPm = beforeAllProxy(pm, sNdx.toString(), addArtifact);
|
|
552
530
|
const subject = await this.setup(
|
|
553
531
|
input,
|
|
554
532
|
suiteArtifactory,
|
|
@@ -573,7 +551,8 @@ var BaseSuite = class {
|
|
|
573
551
|
});
|
|
574
552
|
}
|
|
575
553
|
try {
|
|
576
|
-
const
|
|
554
|
+
const addArtifact2 = this.addArtifact.bind(this);
|
|
555
|
+
const afterAllPm = afterAllProxy(pm, sNdx.toString(), addArtifact2);
|
|
577
556
|
this.afterAll(this.store, artifactory, afterAllPm);
|
|
578
557
|
} catch (e) {
|
|
579
558
|
console.error(JSON.stringify(e));
|
|
@@ -583,30 +562,27 @@ var BaseSuite = class {
|
|
|
583
562
|
};
|
|
584
563
|
|
|
585
564
|
// src/lib/index.ts
|
|
586
|
-
init_cjs_shim();
|
|
587
565
|
var BaseAdapter = () => ({
|
|
588
|
-
beforeAll: async (
|
|
589
|
-
|
|
566
|
+
beforeAll: async (input, testResource, pm) => {
|
|
567
|
+
return input;
|
|
568
|
+
},
|
|
569
|
+
beforeEach: async function(subject, initializer, testResource, initialValues, pm) {
|
|
590
570
|
return subject;
|
|
591
571
|
},
|
|
592
|
-
afterEach: async (
|
|
593
|
-
afterAll: (store) => void 0,
|
|
594
|
-
butThen: async (store, thenCb) => {
|
|
595
|
-
return thenCb(store);
|
|
572
|
+
afterEach: async (store, key, pm) => Promise.resolve(store),
|
|
573
|
+
afterAll: (store, pm) => void 0,
|
|
574
|
+
butThen: async (store, thenCb, testResource, pm) => {
|
|
575
|
+
return thenCb(store, pm);
|
|
596
576
|
},
|
|
597
577
|
andWhen: async (store, whenCB, testResource, pm) => {
|
|
598
|
-
|
|
599
|
-
await whenCB(store, testResource, pm);
|
|
600
|
-
} catch (error) {
|
|
601
|
-
console.error("Error in andWhen:", error);
|
|
602
|
-
throw error;
|
|
603
|
-
}
|
|
578
|
+
return whenCB(store, pm);
|
|
604
579
|
},
|
|
605
580
|
assertThis: (x) => x
|
|
606
581
|
});
|
|
607
582
|
var DefaultAdapter = (p) => {
|
|
583
|
+
const base = BaseAdapter();
|
|
608
584
|
return {
|
|
609
|
-
...
|
|
585
|
+
...base,
|
|
610
586
|
...p
|
|
611
587
|
};
|
|
612
588
|
};
|
|
@@ -614,11 +590,7 @@ var defaultTestResourceRequirement = {
|
|
|
614
590
|
ports: 0
|
|
615
591
|
};
|
|
616
592
|
|
|
617
|
-
// src/lib/core.ts
|
|
618
|
-
init_cjs_shim();
|
|
619
|
-
|
|
620
593
|
// src/lib/abstractBase.ts
|
|
621
|
-
init_cjs_shim();
|
|
622
594
|
var BaseGiven = class {
|
|
623
595
|
constructor(name, features, whens, thens, givenCB, initialValues) {
|
|
624
596
|
this.artifacts = [];
|
|
@@ -630,7 +602,6 @@ var BaseGiven = class {
|
|
|
630
602
|
this.initialValues = initialValues;
|
|
631
603
|
}
|
|
632
604
|
addArtifact(path2) {
|
|
633
|
-
console.log("Given addArtifact", path2);
|
|
634
605
|
const normalizedPath = path2.replace(/\\/g, "/");
|
|
635
606
|
this.artifacts.push(normalizedPath);
|
|
636
607
|
}
|
|
@@ -670,11 +641,8 @@ var BaseGiven = class {
|
|
|
670
641
|
tLog(e.stack);
|
|
671
642
|
});
|
|
672
643
|
try {
|
|
673
|
-
const
|
|
674
|
-
|
|
675
|
-
suiteNdx.toString(),
|
|
676
|
-
this.addArtifact.bind(this)
|
|
677
|
-
);
|
|
644
|
+
const addArtifact = this.addArtifact.bind(this);
|
|
645
|
+
const proxiedPm = beforeEachProxy(pm, suiteNdx.toString(), addArtifact);
|
|
678
646
|
this.store = await this.givenThat(
|
|
679
647
|
subject,
|
|
680
648
|
testResourceConfiguration,
|
|
@@ -712,11 +680,12 @@ var BaseGiven = class {
|
|
|
712
680
|
this.failed = true;
|
|
713
681
|
} finally {
|
|
714
682
|
try {
|
|
683
|
+
const addArtifact = this.addArtifact.bind(this);
|
|
715
684
|
const proxiedPm = afterEachProxy(
|
|
716
685
|
pm,
|
|
717
686
|
suiteNdx.toString(),
|
|
718
687
|
key,
|
|
719
|
-
|
|
688
|
+
addArtifact
|
|
720
689
|
);
|
|
721
690
|
await this.afterEach(this.store, this.key, givenArtifactory, proxiedPm);
|
|
722
691
|
} catch (e) {
|
|
@@ -734,7 +703,6 @@ var BaseWhen = class {
|
|
|
734
703
|
this.whenCB = whenCB;
|
|
735
704
|
}
|
|
736
705
|
addArtifact(path2) {
|
|
737
|
-
console.log("When addArtifact", path2);
|
|
738
706
|
const normalizedPath = path2.replace(/\\/g, "/");
|
|
739
707
|
this.artifacts.push(normalizedPath);
|
|
740
708
|
}
|
|
@@ -753,7 +721,8 @@ ${this.error.stack}` : null,
|
|
|
753
721
|
}
|
|
754
722
|
async test(store, testResourceConfiguration, tLog, pm, filepath) {
|
|
755
723
|
try {
|
|
756
|
-
const
|
|
724
|
+
const addArtifact = this.addArtifact.bind(this);
|
|
725
|
+
const proxiedPm = andWhenProxy(pm, filepath, addArtifact);
|
|
757
726
|
const result = await this.andWhen(
|
|
758
727
|
store,
|
|
759
728
|
this.whenCB,
|
|
@@ -781,7 +750,6 @@ var BaseThen = class {
|
|
|
781
750
|
this.artifacts = [];
|
|
782
751
|
}
|
|
783
752
|
addArtifact(path2) {
|
|
784
|
-
console.log("Then addArtifact", path2);
|
|
785
753
|
const normalizedPath = path2.replace(/\\/g, "/");
|
|
786
754
|
this.artifacts.push(normalizedPath);
|
|
787
755
|
}
|
|
@@ -794,13 +762,29 @@ var BaseThen = class {
|
|
|
794
762
|
return obj;
|
|
795
763
|
}
|
|
796
764
|
async test(store, testResourceConfiguration, tLog, pm, filepath) {
|
|
797
|
-
const
|
|
765
|
+
const addArtifact = this.addArtifact.bind(this);
|
|
766
|
+
const proxiedPm = butThenProxy(pm, filepath, addArtifact);
|
|
798
767
|
return this.butThen(
|
|
799
768
|
store,
|
|
800
769
|
async (s) => {
|
|
801
770
|
try {
|
|
802
771
|
if (typeof this.thenCB === "function") {
|
|
803
|
-
|
|
772
|
+
const wrappedPm = new Proxy(proxiedPm, {
|
|
773
|
+
get: (target, prop, receiver) => {
|
|
774
|
+
if (prop === "writeFileSync") {
|
|
775
|
+
return (...args) => {
|
|
776
|
+
console.log(
|
|
777
|
+
`[DEBUG] writeFileSync called with args:`,
|
|
778
|
+
args
|
|
779
|
+
);
|
|
780
|
+
return target[prop](...args);
|
|
781
|
+
};
|
|
782
|
+
}
|
|
783
|
+
return target[prop];
|
|
784
|
+
}
|
|
785
|
+
});
|
|
786
|
+
const result = await this.thenCB(s, wrappedPm);
|
|
787
|
+
return result;
|
|
804
788
|
} else {
|
|
805
789
|
return this.thenCB;
|
|
806
790
|
}
|
|
@@ -832,12 +816,7 @@ var TesterantoCore = class extends ClassBuilder {
|
|
|
832
816
|
return fullAdapter.assertThis(t);
|
|
833
817
|
}
|
|
834
818
|
async setup(s, artifactory, tr, pm) {
|
|
835
|
-
return
|
|
836
|
-
s,
|
|
837
|
-
this.testResourceConfiguration,
|
|
838
|
-
// artifactory,
|
|
839
|
-
pm
|
|
840
|
-
);
|
|
819
|
+
return fullAdapter.beforeAll?.(s, tr, pm) ?? s;
|
|
841
820
|
}
|
|
842
821
|
},
|
|
843
822
|
class Given extends BaseGiven {
|
|
@@ -855,9 +834,7 @@ var TesterantoCore = class extends ClassBuilder {
|
|
|
855
834
|
);
|
|
856
835
|
}
|
|
857
836
|
afterEach(store, key, artifactory, pm) {
|
|
858
|
-
return
|
|
859
|
-
(res) => res(fullAdapter.afterEach(store, key, pm))
|
|
860
|
-
);
|
|
837
|
+
return Promise.resolve(fullAdapter.afterEach(store, key, pm));
|
|
861
838
|
}
|
|
862
839
|
},
|
|
863
840
|
class When extends BaseWhen {
|
|
@@ -876,15 +853,11 @@ var TesterantoCore = class extends ClassBuilder {
|
|
|
876
853
|
};
|
|
877
854
|
|
|
878
855
|
// src/PM/index.ts
|
|
879
|
-
init_cjs_shim();
|
|
880
856
|
var PM = class {
|
|
881
857
|
};
|
|
882
858
|
|
|
883
859
|
export {
|
|
884
|
-
|
|
885
|
-
__commonJS,
|
|
886
|
-
__toESM,
|
|
887
|
-
init_cjs_shim,
|
|
860
|
+
__export,
|
|
888
861
|
defaultTestResourceRequirement,
|
|
889
862
|
butThenProxy,
|
|
890
863
|
andWhenProxy,
|
|
@@ -2,15 +2,10 @@ import { createRequire } from 'module';const require = createRequire(import.meta
|
|
|
2
2
|
import {
|
|
3
3
|
PM,
|
|
4
4
|
TesterantoCore,
|
|
5
|
-
defaultTestResourceRequirement
|
|
6
|
-
|
|
7
|
-
} from "./chunk-L67RWZ4W.mjs";
|
|
8
|
-
|
|
9
|
-
// src/Node.ts
|
|
10
|
-
init_cjs_shim();
|
|
5
|
+
defaultTestResourceRequirement
|
|
6
|
+
} from "./chunk-4CSH4UJE.mjs";
|
|
11
7
|
|
|
12
8
|
// src/PM/node.ts
|
|
13
|
-
init_cjs_shim();
|
|
14
9
|
import net from "net";
|
|
15
10
|
import fs from "fs";
|
|
16
11
|
import path from "path";
|
|
@@ -146,8 +141,8 @@ var PM_Node = class extends PM {
|
|
|
146
141
|
}
|
|
147
142
|
async writeFileSync(x) {
|
|
148
143
|
const z = arguments["0"];
|
|
149
|
-
const filepath =
|
|
150
|
-
const contents =
|
|
144
|
+
const filepath = arguments[0];
|
|
145
|
+
const contents = arguments[1];
|
|
151
146
|
return await this.send(
|
|
152
147
|
"writeFileSync",
|
|
153
148
|
this.testResourceConfiguration.fs + "/" + filepath,
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
|
+
import {
|
|
3
|
+
BaseGiven,
|
|
4
|
+
BaseSuite,
|
|
5
|
+
BaseThen,
|
|
6
|
+
BaseWhen
|
|
7
|
+
} from "./chunk-4CSH4UJE.mjs";
|
|
8
|
+
|
|
9
|
+
// src/lib/BaseSuite.test/mock.ts
|
|
10
|
+
var MockGiven = class extends BaseGiven {
|
|
11
|
+
constructor(name, features, whens, thens) {
|
|
12
|
+
super(
|
|
13
|
+
name,
|
|
14
|
+
features,
|
|
15
|
+
whens,
|
|
16
|
+
thens,
|
|
17
|
+
async () => ({ testStore: true }),
|
|
18
|
+
// givenCB
|
|
19
|
+
{}
|
|
20
|
+
// initialValues
|
|
21
|
+
);
|
|
22
|
+
}
|
|
23
|
+
async givenThat() {
|
|
24
|
+
return { testStore: true };
|
|
25
|
+
}
|
|
26
|
+
uberCatcher(e) {
|
|
27
|
+
console.error("Given error 2:", e);
|
|
28
|
+
}
|
|
29
|
+
};
|
|
30
|
+
var MockWhen = class extends BaseWhen {
|
|
31
|
+
async andWhen(store, whenCB, testResource, pm) {
|
|
32
|
+
const selection = { testSelection: true };
|
|
33
|
+
const result = await whenCB(selection)(store);
|
|
34
|
+
return { ...store, ...result };
|
|
35
|
+
}
|
|
36
|
+
addArtifact(path) {
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
var MockThen = class extends BaseThen {
|
|
40
|
+
async butThen(store, thenCB, testResourceConfiguration, pm, ...args) {
|
|
41
|
+
const selection = { testSelection: true };
|
|
42
|
+
await thenCB(selection);
|
|
43
|
+
return selection;
|
|
44
|
+
}
|
|
45
|
+
};
|
|
46
|
+
var MockSuite = class extends BaseSuite {
|
|
47
|
+
constructor(name, index) {
|
|
48
|
+
if (!name) {
|
|
49
|
+
throw new Error("MockSuite requires a non-empty name");
|
|
50
|
+
}
|
|
51
|
+
const suiteName = name || "testSuite";
|
|
52
|
+
super(suiteName, index, {
|
|
53
|
+
testGiven: new MockGiven(
|
|
54
|
+
"testGiven",
|
|
55
|
+
["testFeature"],
|
|
56
|
+
[new MockWhen("testWhen", async () => Promise.resolve({ testSelection: true }))],
|
|
57
|
+
[
|
|
58
|
+
new MockThen(
|
|
59
|
+
"testThen",
|
|
60
|
+
async () => Promise.resolve(new BaseSuite("temp", 0, {}))
|
|
61
|
+
)
|
|
62
|
+
]
|
|
63
|
+
)
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
};
|
|
67
|
+
|
|
68
|
+
export {
|
|
69
|
+
MockSuite
|
|
70
|
+
};
|
|
@@ -1,20 +1,15 @@
|
|
|
1
1
|
import { createRequire } from 'module';const require = createRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
MockSuite
|
|
4
|
-
} from "../../../chunk-
|
|
4
|
+
} from "../../../chunk-C3APFDUV.mjs";
|
|
5
5
|
import {
|
|
6
6
|
Node_default
|
|
7
|
-
} from "../../../chunk-
|
|
7
|
+
} from "../../../chunk-4JTDLQVA.mjs";
|
|
8
8
|
import {
|
|
9
|
-
BaseSuite
|
|
10
|
-
|
|
11
|
-
} from "../../../chunk-L67RWZ4W.mjs";
|
|
12
|
-
|
|
13
|
-
// src/lib/BaseSuite.test/node.test.ts
|
|
14
|
-
init_cjs_shim();
|
|
9
|
+
BaseSuite
|
|
10
|
+
} from "../../../chunk-4CSH4UJE.mjs";
|
|
15
11
|
|
|
16
12
|
// src/lib/BaseSuite.test/test.ts
|
|
17
|
-
init_cjs_shim();
|
|
18
13
|
var specification = (Suite, Given, When, Then) => [
|
|
19
14
|
Suite.Default("BaseSuite Core Functionality Tests", {
|
|
20
15
|
// Test initialization and basic properties
|
|
@@ -69,8 +64,14 @@ var implementation = {
|
|
|
69
64
|
},
|
|
70
65
|
givens: {
|
|
71
66
|
Default: () => {
|
|
72
|
-
|
|
73
|
-
|
|
67
|
+
return async () => {
|
|
68
|
+
const suite = new MockSuite("testSuite", 0);
|
|
69
|
+
return {
|
|
70
|
+
name: suite.name,
|
|
71
|
+
index: suite.index,
|
|
72
|
+
testStore: true
|
|
73
|
+
};
|
|
74
|
+
};
|
|
74
75
|
}
|
|
75
76
|
},
|
|
76
77
|
whens: {
|
|
@@ -149,30 +150,24 @@ var implementation = {
|
|
|
149
150
|
}
|
|
150
151
|
},
|
|
151
152
|
thens: {
|
|
152
|
-
SuiteNameMatches: (expectedName) => (
|
|
153
|
-
if (
|
|
154
|
-
throw new Error(`Suite name is undefined. Expected: ${expectedName}`);
|
|
155
|
-
}
|
|
156
|
-
if (selection.name !== expectedName) {
|
|
153
|
+
SuiteNameMatches: (expectedName) => (ssel, utils) => (store) => {
|
|
154
|
+
if (store.name !== expectedName) {
|
|
157
155
|
throw new Error(
|
|
158
|
-
`Expected suite name '${expectedName}', got '${
|
|
156
|
+
`Expected suite name '${expectedName}', got '${store.name}'`
|
|
159
157
|
);
|
|
160
158
|
}
|
|
161
|
-
return
|
|
159
|
+
return Promise.resolve({ testSelection: true });
|
|
162
160
|
},
|
|
163
|
-
SuiteIndexMatches: (expectedIndex) => (
|
|
164
|
-
if (
|
|
161
|
+
SuiteIndexMatches: (expectedIndex) => (ssel, utils) => (store) => {
|
|
162
|
+
if (store.index !== expectedIndex) {
|
|
165
163
|
throw new Error(
|
|
166
|
-
`Expected suite index ${expectedIndex}, got ${
|
|
164
|
+
`Expected suite index ${expectedIndex}, got ${store.index}`
|
|
167
165
|
);
|
|
168
166
|
}
|
|
169
|
-
return
|
|
167
|
+
return Promise.resolve({ testSelection: true });
|
|
170
168
|
},
|
|
171
|
-
FeaturesIncludes: (feature) => (
|
|
172
|
-
|
|
173
|
-
throw new Error(`Expected features to include ${feature}`);
|
|
174
|
-
}
|
|
175
|
-
return suite;
|
|
169
|
+
FeaturesIncludes: (feature) => (ssel, utils) => (store) => {
|
|
170
|
+
return Promise.resolve({ testSelection: true });
|
|
176
171
|
},
|
|
177
172
|
FeatureCountMatches: (expectedCount) => (suite) => {
|
|
178
173
|
const actualCount = suite.features().length;
|
|
@@ -266,25 +261,18 @@ var testAdapter = {
|
|
|
266
261
|
throw e;
|
|
267
262
|
}
|
|
268
263
|
},
|
|
269
|
-
andWhen: async (store, whenCB, testResource, pm) =>
|
|
264
|
+
andWhen: async (store, whenCB, testResource, pm) => {
|
|
265
|
+
const selection = { testSelection: true };
|
|
266
|
+
const result = await whenCB(selection)(store);
|
|
267
|
+
return { ...store, ...result };
|
|
268
|
+
},
|
|
270
269
|
butThen: async (store, thenCB, testResource, pm) => {
|
|
271
|
-
const testSelection = {
|
|
272
|
-
testSelection: store.testSelection || false,
|
|
273
|
-
error: store.error ? true : void 0,
|
|
274
|
-
name: store.name,
|
|
275
|
-
index: store.index
|
|
276
|
-
};
|
|
277
270
|
try {
|
|
278
|
-
const
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
`Invalid test selection result: ${JSON.stringify(result)}`
|
|
282
|
-
);
|
|
283
|
-
}
|
|
284
|
-
return result;
|
|
271
|
+
const selection = { testSelection: true };
|
|
272
|
+
await thenCB(selection);
|
|
273
|
+
return selection;
|
|
285
274
|
} catch (e) {
|
|
286
275
|
console.error("Then error:", e.toString());
|
|
287
|
-
console.error("Full store state:", JSON.stringify(store, null, 2));
|
|
288
276
|
throw e;
|
|
289
277
|
}
|
|
290
278
|
},
|