testeranto 0.173.0 → 0.177.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/dist/common/src/PM/base.js +5 -5
- package/dist/common/src/PM/main.js +48 -52
- package/dist/common/src/PM/node.js +4 -1
- package/dist/common/src/PM/pure.js +4 -1
- package/dist/common/src/PM/web.js +4 -1
- package/dist/common/src/Pure.js +0 -4
- package/dist/common/src/Pure.test.js +1 -1
- package/dist/common/src/ReportServerLib.js +11 -5
- package/dist/common/src/esbuildConfigs/node.js +1 -3
- package/dist/common/src/lib/BaseSuite.js +13 -11
- package/dist/common/src/lib/abstractBase.js +39 -42
- package/dist/common/src/lib/basebuilder.js +5 -0
- package/dist/common/src/lib/core.js +1 -0
- package/dist/common/src/lib/pmProxy.js +210 -100
- package/dist/common/src/lib/pmProxy.test/adapter.js +2 -2
- package/dist/common/src/lib/pmProxy.test/implementation.js +1 -1
- package/dist/common/testeranto.config.js +39 -39
- package/dist/common/tsconfig.common.tsbuildinfo +1 -1
- package/dist/module/src/PM/base.js +5 -5
- package/dist/module/src/PM/main.js +13 -17
- package/dist/module/src/PM/node.js +4 -1
- package/dist/module/src/PM/pure.js +4 -1
- package/dist/module/src/PM/web.js +4 -1
- package/dist/module/src/Pure.js +0 -4
- package/dist/module/src/Pure.test.js +1 -1
- package/dist/module/src/ReportServerLib.js +11 -5
- package/dist/module/src/esbuildConfigs/node.js +1 -3
- package/dist/module/src/lib/BaseSuite.js +13 -11
- package/dist/module/src/lib/abstractBase.js +39 -42
- package/dist/module/src/lib/basebuilder.js +5 -0
- package/dist/module/src/lib/core.js +1 -0
- package/dist/module/src/lib/pmProxy.js +210 -100
- package/dist/module/src/lib/pmProxy.test/adapter.js +2 -2
- package/dist/module/src/lib/pmProxy.test/implementation.js +1 -1
- package/dist/module/testeranto.config.js +39 -39
- package/dist/module/tsconfig.module.tsbuildinfo +1 -1
- package/dist/prebuild/ReportServer.mjs +10 -4
- package/dist/prebuild/build.mjs +1 -1
- package/dist/prebuild/run.mjs +19 -22
- package/dist/types/src/PM/base.d.ts +1 -1
- package/dist/types/src/PM/node.d.ts +1 -1
- package/dist/types/src/PM/pure.d.ts +1 -1
- package/dist/types/src/PM/web.d.ts +1 -1
- package/dist/types/src/ReportServerLib.d.ts +1 -2
- package/dist/types/src/lib/BaseSuite.d.ts +2 -0
- package/dist/types/src/lib/abstractBase.d.ts +4 -6
- package/dist/types/src/lib/pmProxy.d.ts +3 -3
- package/dist/types/tsconfig.types.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/PM/base.ts +6 -9
- package/src/PM/main.ts +17 -20
- package/src/PM/node.ts +6 -1
- package/src/PM/pure.ts +6 -1
- package/src/PM/web.ts +5 -1
- package/src/Pure.test.ts +6 -6
- package/src/Pure.ts +0 -8
- package/src/ReportServerLib.ts +10 -7
- package/src/esbuildConfigs/node.ts +1 -1
- package/src/lib/BaseSuite.ts +16 -21
- package/src/lib/abstractBase.ts +57 -49
- package/src/lib/basebuilder.ts +6 -0
- package/src/lib/core.ts +1 -0
- package/src/lib/pmProxy.test/adapter.ts +2 -2
- package/src/lib/pmProxy.test/implementation.ts +3 -3
- package/src/lib/pmProxy.test/types.ts +0 -2
- package/src/lib/pmProxy.ts +224 -92
- package/testeranto/bundles/node/core/metafile.json +2 -480
- package/testeranto/bundles/pure/core/metafile.json +3 -621
- package/testeranto/bundles/web/core/metafile.json +14384 -78
- package/testeranto/bundles/web/core/src/{lib/baseBuilder.test/baseBuilder.test.web.html → components/pure/ProjectPageView.test/index.html} +2 -2
- package/testeranto/bundles/web/core/src/components/pure/ProjectPageView.test/index.mjs +39991 -0
- package/testeranto/projects.json +0 -1
- package/testeranto/reports/core/config.json +5 -5
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/lint_errors.txt +18 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/logs.txt +59 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/message.txt +2 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/prompt.txt +27 -0
- package/testeranto/reports/core/src/components/pure/ProjectPageView.test/index/web/suite-0/given-basicRender/then-0/butThen/happyPath.png +0 -0
- package/testeranto/reports/{staticSite/src/ReportServer.test.ts/index/node → core/src/components/pure/ProjectPageView.test/index/web}/type_errors.txt +20 -22
- package/testeranto/reports/core/summary.json +5 -19
- package/testeranto.config.ts +39 -39
- package/tsc.log +78 -92
- package/testeranto/bundles/node/allTests/metafile.json +0 -486
- package/testeranto/bundles/node/allTests/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +0 -1182
- package/testeranto/bundles/node/core/src/lib/baseBuilder.test/baseBuilder.test.node.mjs +0 -1182
- package/testeranto/bundles/node/staticSite/metafile.json +0 -593
- package/testeranto/bundles/node/staticSite/src/ReportServer.test.ts/index.mjs +0 -1594
- package/testeranto/bundles/pure/allTests/metafile.json +0 -626
- package/testeranto/bundles/pure/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +0 -1094
- package/testeranto/bundles/pure/core/src/lib/baseBuilder.test/baseBuilder.test.pure.mjs +0 -1094
- package/testeranto/bundles/pure/staticSite/metafile.json +0 -8
- package/testeranto/bundles/web/allTests/metafile.json +0 -780
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.html +0 -19
- package/testeranto/bundles/web/allTests/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +0 -1092
- package/testeranto/bundles/web/core/src/lib/baseBuilder.test/baseBuilder.test.web.mjs +0 -1092
- package/testeranto/bundles/web/staticSite/metafile.json +0 -8
- package/testeranto/reports/allTests/config.json +0 -40
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +0 -33
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +0 -26
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +0 -69
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +0 -74
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +0 -26
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +0 -74
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/bdd_errors.txt +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +0 -63
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +0 -2
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +0 -26
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/suite-0/given-testInitialization/then-0/butThen/hello.txt +0 -1
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/tests.json +0 -69
- package/testeranto/reports/allTests/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +0 -74
- package/testeranto/reports/allTests/summary.json +0 -23
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/bdd_errors.txt +0 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/lint_errors.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/logs.txt +0 -32
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/message.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/prompt.txt +0 -26
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/suite-0/given-testInitialization/then-0/butThen/hello.txt +0 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/tests.json +0 -69
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.node/node/type_errors.txt +0 -74
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/lint_errors.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/message.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/prompt.txt +0 -26
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.pure/pure/type_errors.txt +0 -74
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/bdd_errors.txt +0 -1
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/lint_errors.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/logs.txt +0 -61
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/message.txt +0 -2
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/prompt.txt +0 -26
- 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/tests.json +0 -69
- package/testeranto/reports/core/src/lib/baseBuilder.test/baseBuilder.test.web/web/type_errors.txt +0 -74
- package/testeranto/reports/staticSite/config.json +0 -24
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/lint_errors.txt +0 -5
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/logs.txt +0 -44
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/message.txt +0 -2
- package/testeranto/reports/staticSite/src/ReportServer.test.ts/index/node/prompt.txt +0 -23
- package/testeranto/reports/staticSite/summary.json +0 -9
- package/testeranto/reportsnode_build_errors +0 -17
package/tsc.log
CHANGED
|
@@ -1,32 +1,8 @@
|
|
|
1
1
|
$ /Users/adam/Code/testeranto/node_modules/.bin/tsc --noEmit
|
|
2
|
-
node_modules/testeranto-react/src/mocks/mockReactComponent.tsx(58,9): error TS2554: Expected 3 arguments, but got 2.
|
|
3
|
-
node_modules/testeranto-react/src/react-dom/component/dynamic.ts(6,19): error TS2305: Module '"testeranto/src/CoreTypes"' has no exported member 'ITestAdapter'.
|
|
4
2
|
node_modules/testeranto-react/src/react-dom/component/dynamic.ts(50,45): error TS2339: Property 'subject' does not exist on type 'Readonly<{}>'.
|
|
5
|
-
node_modules/testeranto-react/src/react-dom/component/
|
|
3
|
+
node_modules/testeranto-react/src/react-dom/component/dynamic.ts(104,26): error TS2345: Argument of type 'CElement<any, TesterantoComponent>' is not assignable to parameter of type 'ReactNode'.
|
|
4
|
+
Property 'children' is missing in type 'ComponentElement<any, TesterantoComponent>' but required in type 'ReactPortal'.
|
|
6
5
|
node_modules/testeranto-react/src/react/component/index.ts(3,44): error TS2307: Cannot find module '../../../Types' or its corresponding type declarations.
|
|
7
|
-
node_modules/testeranto/src/lib/basebuilder.ts(85,15): error TS2349: This expression is not callable.
|
|
8
|
-
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
9
|
-
Type 'void' has no call signatures.
|
|
10
|
-
node_modules/testeranto/src/lib/classBuilder.ts(90,18): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
11
|
-
node_modules/testeranto/src/lib/classBuilder.ts(105,28): error TS2556: A spread argument must either have a tuple type or be passed to a rest parameter.
|
|
12
|
-
node_modules/testeranto/src/lib/index.ts(22,3): error TS2322: Type '(subject: T["isubject"], initialValues: T["iinitialValues"], x: unknown, testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["isubject"]>' is not assignable to type '(subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceConfiguration, initialValues: any, pm: IPM) => Promise<...>'.
|
|
13
|
-
Types of parameters 'initialValues' and 'initializer' are incompatible.
|
|
14
|
-
Type '(c?: any) => T["given"]' is not assignable to type 'T["iinitialValues"]'.
|
|
15
|
-
'T["iinitialValues"]' could be instantiated with an arbitrary type which could be unrelated to '(c?: any) => T["given"]'.
|
|
16
|
-
node_modules/testeranto/src/lib/index.ts(24,20): error TS2536: Type '"iinitialValues"' cannot be used to index type 'T'.
|
|
17
|
-
node_modules/testeranto/src/lib/index.ts(46,13): error TS2349: This expression is not callable.
|
|
18
|
-
Type 'unknown' has no call signatures.
|
|
19
|
-
node_modules/testeranto/src/lib/index.ts(58,3): error TS2322: Type '{ assertThis?: ((x: T["then"]) => any) | undefined; andWhen?: ((store: T["istore"], whenCB: T["when"], testResource: ITTestResourceConfiguration, pm: IPM) => Promise<T["istore"]>) | undefined; ... 4 more ...; beforeEach?: ((subject: T["isubject"], initializer: (c?: any) => T["given"], testResource: ITTestResourceCon...' is not assignable to type 'ITestInterface<T>'.
|
|
20
|
-
Types of property 'assertThis' are incompatible.
|
|
21
|
-
Type '((x: T["then"]) => any) | undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
22
|
-
Type 'undefined' is not assignable to type '(x: T["then"]) => any'.
|
|
23
|
-
node_modules/testeranto/src/PM/web.ts(56,12): error TS2304: Cannot find name 'opts'.
|
|
24
|
-
node_modules/testeranto/src/PM/web.ts(57,57): error TS2304: Cannot find name 'opts'.
|
|
25
|
-
node_modules/testeranto/src/PM/web.ts(59,7): error TS2663: Cannot find name 'page'. Did you mean the instance member 'this.page'?
|
|
26
|
-
node_modules/testeranto/src/Web.ts(40,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
27
|
-
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; checks: TestCheckImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; checks: Record<string, any>; }': suites, givens, whens, thens, checks
|
|
28
|
-
node_modules/testeranto/src/Web.ts(48,14): error TS2554: Expected 0 arguments, but got 1.
|
|
29
|
-
node_modules/testeranto/src/Web.ts(67,14): error TS2554: Expected 0 arguments, but got 1.
|
|
30
6
|
src/App.tsx(45,34): error TS2339: Property 'createRoot' does not exist on type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")'.
|
|
31
7
|
src/App.tsx(55,10): error TS2339: Property 'App' does not exist on type 'Window & typeof globalThis'.
|
|
32
8
|
src/App.tsx(57,3): error TS2740: Type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/client")' is missing the following properties from type 'typeof import("/Users/adam/Code/testeranto/node_modules/@types/react-dom/index")': findDOMNode, unmountComponentAtNode, createPortal, flushSync, and 5 more.
|
|
@@ -44,22 +20,12 @@ src/components/pure/ProjectPageView.test/adapter.ts(12,3): error TS2719: Type '(
|
|
|
44
20
|
Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
45
21
|
Type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps'.
|
|
46
22
|
src/components/pure/ProjectPageView.test/adapter.ts(13,19): error TS2554: Expected 0 arguments, but got 2.
|
|
47
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(49,12): error TS2686: 'React' refers to a UMD global, but the current file is a module. Consider adding an import instead.
|
|
52
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(69,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
53
|
-
Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
54
|
-
Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
|
|
55
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(71,34): error TS18048: 'container' is possibly 'undefined'.
|
|
56
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(73,73): error TS18048: 'container' is possibly 'undefined'.
|
|
57
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(80,9): error TS2322: Type '({ container }: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => { container: HTMLElement | undefined; }' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
58
|
-
Type '{ container: HTMLElement | undefined; }' is not assignable to type 'IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
59
|
-
Type '{ container: HTMLElement | undefined; }' is missing the following properties from type 'IProjectPageViewProps': summary, nodeLogs, webLogs, pureLogs, and 7 more.
|
|
60
|
-
src/components/pure/ProjectPageView.test/implementation.tsx(81,18): error TS18048: 'container' is possibly 'undefined'.
|
|
23
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(45,9): error TS2322: Type '({ container, html }: { container: any; html: any; }, pm: any) => Promise<void>' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
24
|
+
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
25
|
+
src/components/pure/ProjectPageView.test/implementation.tsx(74,9): error TS2322: Type '({ container }: { container: any; }, pm: any) => Promise<{ container: any; }>' is not assignable to type '(state: IProjectPageViewProps & { container?: HTMLElement | undefined; }) => IProjectPageViewProps & { container?: HTMLElement | undefined; }'.
|
|
26
|
+
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
61
27
|
src/components/pure/ProjectPageView.test/index.ts(8,27): error TS2344: Type 'I' does not satisfy the constraint 'Ibdd_out'.
|
|
62
|
-
Type 'I' is missing the following properties from type 'Ibdd_out': suites, givens, whens, thens
|
|
28
|
+
Type 'I' is missing the following properties from type 'Ibdd_out': suites, givens, whens, thens
|
|
63
29
|
src/components/pure/ProjectPageView.tsx(217,19): error TS18046: 'testData' is of type 'unknown'.
|
|
64
30
|
src/components/pure/ProjectPageView.tsx(218,29): error TS18046: 'testData' is of type 'unknown'.
|
|
65
31
|
src/components/pure/ProjectPageView.tsx(219,26): error TS18046: 'testData' is of type 'unknown'.
|
|
@@ -99,8 +65,7 @@ src/lib/abstractBase.test/MockGiven.ts(9,12): error TS2304: Cannot find name 'Ba
|
|
|
99
65
|
src/lib/abstractBase.test/MockGiven.ts(24,12): error TS2349: This expression is not callable.
|
|
100
66
|
Type 'unknown' has no call signatures.
|
|
101
67
|
src/lib/abstractBase.test/types.ts(13,17): error TS2707: Generic type 'Ibdd_out' requires between 0 and 4 type arguments.
|
|
102
|
-
src/lib/abstractBase.ts(
|
|
103
|
-
src/lib/abstractBase.ts(301,39): error TS2554: Expected 1 arguments, but got 2.
|
|
68
|
+
src/lib/abstractBase.ts(322,39): error TS2554: Expected 1 arguments, but got 2.
|
|
104
69
|
src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(8,49): error TS2322: Type 'Promise<{}>' is not assignable to type 'Promise<BaseBuilder<any, any, any, any, any, any>>'.
|
|
105
70
|
Type '{}' is missing the following properties from type 'BaseBuilder<any, any, any, any, any, any>': specs, assertThis, testResourceRequirement, artifacts, and 12 more.
|
|
106
71
|
src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(9,3): error TS2719: Type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...' is not assignable to type '(subject: import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, initializer: (c?: any) => () => import("/Users/adam/Code/testeranto/src/lib/basebuilder").BaseBuilder<any, any, any, any, any, any>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestR...'. Two different types with this name exist, but they are unrelated.
|
|
@@ -112,23 +77,25 @@ src/lib/baseBuilder.test/baseBuilder.test.adapter.ts(25,25): error TS2739: Type
|
|
|
112
77
|
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(19,5): error TS2322: Type '() => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
113
78
|
Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => BaseBuilder<any, any, any, any, any, any>'.
|
|
114
79
|
Type 'MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' provides no match for the signature '(): BaseBuilder<any, any, any, any, any, any>'.
|
|
115
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(
|
|
116
|
-
|
|
117
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(
|
|
80
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(30,5): error TS2322: Type '(input: any) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
81
|
+
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
|
82
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(37,11): error TS2322: Type 'never[]' is not assignable to type 'number'.
|
|
83
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(41,5): error TS2322: Type '(requirements: ITTestResourceRequest) => MockBaseBuilder<Ibdd_in_any, Ibdd_out_any, {}, {}, {}, {}>' is not assignable to type '() => () => BaseBuilder<any, any, any, any, any, any>'.
|
|
84
|
+
Target signature provides too few arguments. Expected 1 or more, but got 0.
|
|
85
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(60,32): error TS2322: Type '(builder: BaseBuilder<any, any, any, any, any, any>, utils: PM) => BaseBuilder<any, any, any, any, any, any>' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
86
|
+
Type 'BaseBuilder<any, any, any, any, any, any>' is not assignable to type '(store: any) => any'.
|
|
87
|
+
Type 'BaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
88
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(66,100): error TS2339: Property 'constructor' does not exist on type 'never'.
|
|
89
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(87,46): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
121
90
|
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
122
91
|
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
123
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(
|
|
124
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(75,27): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
92
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(93,30): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
125
93
|
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
126
94
|
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
127
|
-
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(
|
|
95
|
+
src/lib/baseBuilder.test/baseBuilder.test.implementation.ts(99,34): error TS2322: Type '(builder: TestSubject) => TestSubject' is not assignable to type '(ssel: BaseBuilder<any, any, any, any, any, any>, utils: PM) => (store: any) => any'.
|
|
128
96
|
Type 'TestSubject' is not assignable to type '(store: any) => any'.
|
|
129
97
|
Type 'MockBaseBuilder<any, any, any, any, any, any>' provides no match for the signature '(store: any): any'.
|
|
130
|
-
src/lib/
|
|
131
|
-
src/lib/basebuilder.ts(79,15): error TS2349: This expression is not callable.
|
|
98
|
+
src/lib/basebuilder.ts(80,15): error TS2349: This expression is not callable.
|
|
132
99
|
Not all constituents of type 'void | ((fPath: string, value: string | Buffer<ArrayBufferLike> | PassThrough) => void)' are callable.
|
|
133
100
|
Type 'void' has no call signatures.
|
|
134
101
|
src/lib/BaseSuite.test/mock.ts(36,9): error TS2416: Property 'andWhen' in type 'MockWhen' is not assignable to the same property in base type 'BaseWhen<I>'.
|
|
@@ -139,20 +106,18 @@ src/lib/BaseSuite.test/mock.ts(36,9): error TS2416: Property 'andWhen' in type '
|
|
|
139
106
|
Types of property 'testSelection' are incompatible.
|
|
140
107
|
Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
141
108
|
Type 'undefined' is not assignable to type 'boolean'.
|
|
109
|
+
src/lib/BaseSuite.test/mock.ts(59,3): error TS2416: Property 'addArtifact' in type 'MockWhen' is not assignable to the same property in base type 'BaseWhen<I>'.
|
|
110
|
+
Type '(name: string, content: string) => this' is not assignable to type '(path: string) => void'.
|
|
111
|
+
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
142
112
|
src/lib/BaseSuite.test/mock.ts(66,9): error TS2416: Property 'butThen' in type 'MockThen' is not assignable to the same property in base type 'BaseThen<I>'.
|
|
143
113
|
Types of parameters 'thenCB' and 'thenCB' are incompatible.
|
|
144
114
|
Type 'Promise<BaseSuite<any, any>>' is not assignable to type 'Promise<TestSelection>'.
|
|
145
115
|
Property 'testSelection' is missing in type 'BaseSuite<any, any>' but required in type 'TestSelection'.
|
|
146
116
|
src/lib/BaseSuite.test/mock.ts(83,7): error TS2353: Object literal may only specify known properties, and 'name' does not exist in type 'TestSelection'.
|
|
147
117
|
src/lib/BaseSuite.test/mock.ts(126,10): error TS2322: Type 'MockWhen' is not assignable to type 'BaseWhen<I>'.
|
|
148
|
-
Types of property '
|
|
149
|
-
Type '(
|
|
150
|
-
|
|
151
|
-
Types of parameters 'x' and 'store' are incompatible.
|
|
152
|
-
Type 'TestStore' is not assignable to type 'TestSelection'.
|
|
153
|
-
Types of property 'testSelection' are incompatible.
|
|
154
|
-
Type 'boolean | undefined' is not assignable to type 'boolean'.
|
|
155
|
-
Type 'undefined' is not assignable to type 'boolean'.
|
|
118
|
+
Types of property 'addArtifact' are incompatible.
|
|
119
|
+
Type '(name: string, content: string) => MockWhen' is not assignable to type '(path: string) => void'.
|
|
120
|
+
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
156
121
|
src/lib/BaseSuite.test/mock.ts(126,41): error TS2322: Type 'Promise<{ testStore: boolean; }>' is not assignable to type '(store: TestStore) => Promise<TestSelection>'.
|
|
157
122
|
Type 'Promise<{ testStore: boolean; }>' provides no match for the signature '(store: TestStore): Promise<TestSelection>'.
|
|
158
123
|
src/lib/BaseSuite.test/mock.ts(129,13): error TS2322: Type 'Promise<{ testSelection: boolean; }>' is not assignable to type 'Promise<(store: TestStore) => Promise<TestSelection>>'.
|
|
@@ -161,14 +126,14 @@ src/lib/BaseSuite.test/mock.ts(129,13): error TS2322: Type 'Promise<{ testSelect
|
|
|
161
126
|
src/lib/BaseSuite.test/test.ts(126,5): error TS2322: Type '() => MockSuite' is not assignable to type '() => () => Promise<TestStore>'.
|
|
162
127
|
Type 'MockSuite' is not assignable to type '() => Promise<TestStore>'.
|
|
163
128
|
Type 'MockSuite' provides no match for the signature '(): Promise<TestStore>'.
|
|
164
|
-
src/lib/BaseSuite.test/test.ts(137,
|
|
129
|
+
src/lib/BaseSuite.test/test.ts(137,30): error TS2345: Argument of type 'Promise<unknown>' is not assignable to parameter of type 'string'.
|
|
165
130
|
src/lib/BaseSuite.test/test.ts(144,15): error TS2339: Property 'specs' does not exist on type 'MockSuite'.
|
|
166
131
|
src/lib/BaseSuite.test/test.ts(144,38): error TS2339: Property 'specs' does not exist on type 'MockSuite'.
|
|
167
132
|
src/lib/BaseSuite.test/test.ts(151,15): error TS2339: Property 'testJobs' does not exist on type 'MockSuite'.
|
|
168
133
|
src/lib/BaseSuite.test/test.ts(151,41): error TS2339: Property 'testJobs' does not exist on type 'MockSuite'.
|
|
169
134
|
src/lib/BaseSuite.test/test.ts(157,7): error TS2322: Type '(suite: MockSuite) => Promise<MockSuite>' is not assignable to type '(zel: TestSelection, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: TestStore) => Promise<TestStore>>'.
|
|
170
135
|
Types of parameters 'suite' and 'zel' are incompatible.
|
|
171
|
-
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and
|
|
136
|
+
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and 11 more.
|
|
172
137
|
src/lib/BaseSuite.test/test.ts(178,11): error TS2322: Type '() => void' is not assignable to type '((selector: string) => boolean) | ((selector: string) => boolean) | ((selector: string, page: string) => Promise<unknown>)'.
|
|
173
138
|
Type '() => void' is not assignable to type '(selector: string) => boolean'.
|
|
174
139
|
Type 'void' is not assignable to type 'boolean'.
|
|
@@ -180,21 +145,20 @@ src/lib/BaseSuite.test/test.ts(199,13): error TS2345: Argument of type 'null' is
|
|
|
180
145
|
src/lib/BaseSuite.test/test.ts(224,5): error TS2322: Type '(expectedName: string) => ((suite: MockSuite) => MockSuite)' is not assignable to type '(It_0: string) => (ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
181
146
|
Type '(suite: MockSuite) => MockSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
182
147
|
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
183
|
-
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and
|
|
148
|
+
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and 11 more.
|
|
184
149
|
src/lib/BaseSuite.test/test.ts(244,5): error TS2322: Type '(expectedIndex: number) => ((suite: MockSuite) => MockSuite)' is not assignable to type '(It_0: number) => (ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
185
150
|
Type '(suite: MockSuite) => MockSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
186
151
|
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
187
|
-
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and
|
|
152
|
+
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and 11 more.
|
|
188
153
|
src/lib/BaseSuite.test/test.ts(255,5): error TS2322: Type '(feature: string) => ((suite: MockSuite) => MockSuite)' is not assignable to type '(feature: string) => (ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
189
154
|
Type '(suite: MockSuite) => MockSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
190
155
|
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
191
|
-
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and
|
|
156
|
+
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and 11 more.
|
|
192
157
|
src/lib/BaseSuite.test/test.ts(276,58): error TS2322: Type '(suite: MockSuite) => MockSuite' is not assignable to type '(ssel: TestSelection, utils: PM) => (store: TestStore) => Promise<TestSelection>'.
|
|
193
158
|
Types of parameters 'suite' and 'ssel' are incompatible.
|
|
194
|
-
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and
|
|
159
|
+
Type 'TestSelection' is missing the following properties from type 'MockSuite': name, givens, store, testResourceConfiguration, and 11 more.
|
|
195
160
|
src/lib/BaseSuite.test/test.ts(328,19): error TS2339: Property 'specs' does not exist on type 'MockSuite'.
|
|
196
161
|
src/lib/BaseSuite.test/test.ts(337,19): error TS2339: Property 'testJobs' does not exist on type 'MockSuite'.
|
|
197
|
-
src/lib/BaseSuite.test/test.ts(345,19): error TS2339: Property 'artifacts' does not exist on type 'MockSuite'.
|
|
198
162
|
src/lib/BaseSuite.test/test.ts(378,22): error TS2339: Property 'index' does not exist on type '() => Promise<TestStore>'.
|
|
199
163
|
src/lib/BaseSuite.test/test.ts(379,22): error TS2339: Property 'store' does not exist on type '() => Promise<TestStore>'.
|
|
200
164
|
src/lib/BaseSuite.test/test.ts(383,22): error TS2339: Property 'index' does not exist on type '() => Promise<TestStore>'.
|
|
@@ -294,22 +258,26 @@ src/lib/pmProxy.test/adapter.ts(36,3): error TS2322: Type '(input: any, testReso
|
|
|
294
258
|
Target signature provides too few arguments. Expected 4 or more, but got 3.
|
|
295
259
|
src/lib/pmProxy.test/adapter.ts(45,3): error TS2322: Type '(returnedFilePath: any, expectation: any) => void' is not assignable to type '(x: [IPM, "string"]) => any'.
|
|
296
260
|
Target signature provides too few arguments. Expected 2 or more, but got 1.
|
|
297
|
-
src/lib/pmProxy.test/implementation.ts(22,5): error TS2322: Type '(method:
|
|
298
|
-
Type '(store: {
|
|
261
|
+
src/lib/pmProxy.test/implementation.ts(22,5): error TS2322: Type '(method: string, expectedPath: string) => (store: { pathRewriter: PathRewriter; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(...It: any) => (ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
|
|
262
|
+
Type '(store: { pathRewriter: PathRewriter; }) => [undefined, undefined] | [string, string, any] | [any, string]' is not assignable to type '(ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
|
|
299
263
|
Types of parameters 'store' and 'ssel' are incompatible.
|
|
300
|
-
Property '
|
|
264
|
+
Property 'pathRewriter' is missing in type '{ proxies: ITestProxies; filepath: string; mockPm: IPM; }' but required in type '{ pathRewriter: PathRewriter; }'.
|
|
265
|
+
src/lib/pmProxy.test/implementation.ts(24,31): error TS2304: Cannot find name 'PathRewriter'.
|
|
266
|
+
src/lib/pmProxy.test/implementation.ts(27,29): error TS2304: Cannot find name 'createPathRewriter'.
|
|
267
|
+
src/lib/pmProxy.test/implementation.ts(38,15): error TS2304: Cannot find name 'proxiedPm'.
|
|
301
268
|
src/lib/pmProxy.test/implementation.ts(50,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
302
269
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
303
270
|
src/lib/pmProxy.test/implementation.ts(51,38): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
304
271
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
272
|
+
src/lib/pmProxy.test/implementation.ts(55,15): error TS2304: Cannot find name 'proxiedPm'.
|
|
305
273
|
src/lib/pmProxy.test/implementation.ts(58,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
306
274
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
307
|
-
src/lib/pmProxy.test/implementation.ts(
|
|
275
|
+
src/lib/pmProxy.test/implementation.ts(62,15): error TS2304: Cannot find name 'proxiedPm'.
|
|
308
276
|
src/lib/pmProxy.test/implementation.ts(70,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
309
277
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
310
278
|
src/lib/pmProxy.test/implementation.ts(71,38): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
311
279
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
312
|
-
src/lib/pmProxy.test/implementation.ts(75,
|
|
280
|
+
src/lib/pmProxy.test/implementation.ts(75,15): error TS2304: Cannot find name 'proxiedPm'.
|
|
313
281
|
src/lib/pmProxy.test/implementation.ts(76,35): error TS2339: Property 'getLastCall' does not exist on type 'IPM'.
|
|
314
282
|
Property 'getLastCall' does not exist on type 'PM_Pure'.
|
|
315
283
|
src/lib/pmProxy.test/implementation.ts(93,5): error TS2322: Type '(expectedContent: any) => (result: any[]) => any[]' is not assignable to type '(...It: any) => (ssel: { proxies: ITestProxies; filepath: string; mockPm: IPM; }, utils: PM) => [IPM, "string"]'.
|
|
@@ -326,7 +294,7 @@ src/lib/pmProxy.test/mockPM.ts(23,3): error TS2416: Property 'launchSideCar' in
|
|
|
326
294
|
Type '(n: number) => Promise<[number, any]>' is not assignable to type '(n: number, testName: string, projectName: string) => Promise<void>'.
|
|
327
295
|
Type 'Promise<[number, any]>' is not assignable to type 'Promise<void>'.
|
|
328
296
|
Type '[number, any]' is not assignable to type 'void'.
|
|
329
|
-
src/lib/pmProxy.test/types.ts(
|
|
297
|
+
src/lib/pmProxy.test/types.ts(19,17): error TS2707: Generic type 'Ibdd_out' requires between 0 and 4 type arguments.
|
|
330
298
|
src/mothership/test.ts(66,7): error TS2554: Expected 2 arguments, but got 3.
|
|
331
299
|
src/mothership/test.ts(72,13): error TS2322: Type '(x: any) => any' is not assignable to type 'string'.
|
|
332
300
|
src/mothership/test.ts(101,20): error TS2304: Cannot find name 'IPartialNodeAdapter'.
|
|
@@ -359,15 +327,15 @@ src/PM/__tests__/webSidecar.testeranto.ts(94,38): error TS2322: Type 'boolean' i
|
|
|
359
327
|
src/PM/__tests__/webSidecar.testeranto.ts(109,18): error TS2339: Property 'removeListenerCalled' does not exist on type 'PM'.
|
|
360
328
|
src/PM/__tests__/webSidecar.testeranto.ts(118,20): error TS2304: Cannot find name 'IPartialNodeAdapter'.
|
|
361
329
|
src/PM/__tests__/webSidecar.testeranto.ts(118,40): error TS2304: Cannot find name 'I'.
|
|
362
|
-
src/PM/main.ts(
|
|
330
|
+
src/PM/main.ts(822,38): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
363
331
|
Type 'null' is not assignable to type 'number'.
|
|
364
|
-
src/PM/main.ts(
|
|
332
|
+
src/PM/main.ts(823,31): error TS2345: Argument of type 'number | null' is not assignable to parameter of type 'number'.
|
|
365
333
|
Type 'null' is not assignable to type 'number'.
|
|
366
|
-
src/PM/main.ts(
|
|
367
|
-
src/PM/main.ts(
|
|
368
|
-
src/PM/main.ts(
|
|
369
|
-
src/PM/main.ts(
|
|
370
|
-
src/PM/main.ts(
|
|
334
|
+
src/PM/main.ts(989,6): error TS2366: Function lacks ending return statement and return type does not include 'undefined'.
|
|
335
|
+
src/PM/main.ts(1027,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
336
|
+
src/PM/main.ts(1155,16): error TS2339: Property 'sidecars' does not exist on type 'PM_Main'.
|
|
337
|
+
src/PM/main.ts(1193,27): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
338
|
+
src/PM/main.ts(1208,9): error TS2322: Type 'undefined' is not assignable to type '[number, ITTestResourceConfiguration]'.
|
|
371
339
|
src/PM/main.ts(1473,9): error TS2532: Object is possibly 'undefined'.
|
|
372
340
|
src/PM/pure.ts(114,3): error TS2416: Property 'customScreenShot' in type 'PM_Pure' is not assignable to the same property in base type 'PM'.
|
|
373
341
|
Type '(opts: ScreencastOptions, page: string) => any' is not assignable to type '(opts: { path: string; }, page?: string | undefined) => any'.
|
|
@@ -391,6 +359,9 @@ src/ProjectPage.tsx(317,37): error TS2339: Property 'staticErrors' does not exis
|
|
|
391
359
|
src/ProjectPage.tsx(397,45): error TS2339: Property 'tests' does not exist on type 'object'.
|
|
392
360
|
src/Pure.test.ts(58,20): error TS2322: Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' is not assignable to type '() => IPM'.
|
|
393
361
|
Type '{ pm: IPM; config: {}; proxies: { butThenProxy: (pm: IPM, path: string) => { writeFileSync: (p: string, c: string) => any; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; andWhenProxy: (pm: IPM, path: string) => { ...; } | ... 1 more ... | { ...; }; before...' provides no match for the signature '(): IPM'.
|
|
362
|
+
src/Pure.test.ts(65,54): error TS2554: Expected 1 arguments, but got 2.
|
|
363
|
+
src/Pure.test.ts(70,54): error TS2554: Expected 1 arguments, but got 2.
|
|
364
|
+
src/Pure.test.ts(75,64): error TS2554: Expected 1 arguments, but got 2.
|
|
394
365
|
src/Pure.test.ts(82,5): error TS2322: Type '(proxyType: string) => (store: { pm: IPM; }) => { pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' is not assignable to type '(Iw_0: string) => (zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
|
|
395
366
|
Call signature return types '(store: { pm: IPM; }) => { pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' and '(zel: { pm: IPM; }, tr: ITTestResourceConfiguration, utils: PM) => Promise<(store: { pm: IPM; }) => { pm: IPM; }>' are incompatible.
|
|
396
367
|
Type '{ pm: IPM; } | { pm: {}; } | { largePayload: boolean; pm: { writeFileSync: (p: string, c: string) => boolean; server: PuppetMasterServer; testResourceConfiguration: ITTestResourceConfiguration; } | { ...; } | { ...; }; } | { ...; }' is not assignable to type 'Promise<(store: { pm: IPM; }) => { pm: IPM; }>'.
|
|
@@ -446,32 +417,47 @@ src/Pure.test.ts(189,5): error TS2322: Type '(expectedError: string) => (store:
|
|
|
446
417
|
Call signature return types '(store: { pm: IPM; }) => { pm: IPM; }' and '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }' are incompatible.
|
|
447
418
|
Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
|
|
448
419
|
Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
|
|
420
|
+
src/Pure.test.ts(191,40): error TS2554: Expected 1 arguments, but got 2.
|
|
449
421
|
src/Pure.test.ts(202,33): error TS2322: Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
|
|
450
422
|
Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
|
|
451
423
|
Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
|
|
452
424
|
src/Pure.test.ts(208,31): error TS2322: Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
|
|
453
425
|
Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
|
|
454
426
|
Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
|
|
427
|
+
src/Pure.test.ts(210,58): error TS2554: Expected 1 arguments, but got 2.
|
|
455
428
|
src/Pure.test.ts(216,29): error TS2322: Type '(store: { pm: IPM; }) => { pm: IPM; }' is not assignable to type '(ssel: { pm: IPM; }, utils: PM) => (store: { pm: IPM; }) => { pm: IPM; }'.
|
|
456
429
|
Type '{ pm: IPM; }' is not assignable to type '(store: { pm: IPM; }) => { pm: IPM; }'.
|
|
457
430
|
Type '{ pm: IPM; }' provides no match for the signature '(store: { pm: IPM; }): { pm: IPM; }'.
|
|
458
431
|
src/Pure.ts(32,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
459
432
|
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
460
|
-
src/ReportServer.ts(
|
|
433
|
+
src/ReportServer.test.ts/index.ts(117,3): error TS2719: Type '(store: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, thenCB: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, pm: im...' is not assignable to type '(store: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, thenCB: import("http").Server<typeof import("http").IncomingMessage, typeof import("http").ServerResponse>, testResource: import("/Users/adam/Code/testeranto/src/lib/index").ITTestResourceConfiguration, pm: im...'. Two different types with this name exist, but they are unrelated.
|
|
434
|
+
Type 'Promise<Server<typeof IncomingMessage, typeof ServerResponse>>' is not assignable to type 'Promise<number>'.
|
|
435
|
+
Type 'Server<typeof IncomingMessage, typeof ServerResponse>' is not assignable to type 'number'.
|
|
436
|
+
src/ReportServer.test.ts/index.ts(174,51): error TS2304: Cannot find name 'IProjectPageViewProps'.
|
|
437
|
+
src/ReportServer.test.ts/index.ts(180,14): error TS2304: Cannot find name 'IProjectPageViewProps'.
|
|
438
|
+
src/ReportServer.test.ts/index.ts(182,10): error TS2304: Cannot find name 'IProjectPageViewProps'.
|
|
439
|
+
src/ReportServer.test.ts/index.ts(190,3): error TS2345: Argument of type '(port: number) => void' is not assignable to parameter of type '(port: number) => Server<typeof IncomingMessage, typeof ServerResponse>'.
|
|
440
|
+
Type 'void' is not assignable to type 'Server<typeof IncomingMessage, typeof ServerResponse>'.
|
|
441
|
+
src/ReportServer.ts(5,20): error TS2345: Argument of type 'string' is not assignable to parameter of type 'number'.
|
|
442
|
+
src/ReportServerLib.ts(111,33): error TS2339: Property 'status' does not exist on type 'Error'.
|
|
461
443
|
src/TestPage.tsx(72,17): error TS2345: Argument of type 'string | undefined' is not assignable to parameter of type 'SetStateAction<string>'.
|
|
462
444
|
Type 'undefined' is not assignable to type 'SetStateAction<string>'.
|
|
463
445
|
src/TestPage.tsx(131,22): error TS2339: Property 'fails' does not exist on type 'TestData'.
|
|
464
446
|
src/TestPage.tsx(163,16): error TS2739: Type '{ testName: string; testsExist: boolean; runTimeErrors: number; variant: "compact"; }' is missing the following properties from type 'TestStatusBadgeProps': typeErrors, staticErrors
|
|
465
|
-
src/TestPage.tsx(
|
|
466
|
-
src/TestPage.tsx(
|
|
467
|
-
src/TestPage.tsx(
|
|
468
|
-
src/TestPage.tsx(
|
|
469
|
-
src/TestPage.tsx(
|
|
470
|
-
src/TestPage.tsx(
|
|
471
|
-
src/TestPage.tsx(
|
|
447
|
+
src/TestPage.tsx(259,34): error TS2339: Property 'features' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
448
|
+
src/TestPage.tsx(263,40): error TS2339: Property 'features' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
449
|
+
src/TestPage.tsx(278,32): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
450
|
+
src/TestPage.tsx(285,49): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
451
|
+
src/TestPage.tsx(288,38): error TS2339: Property 'artifacts' does not exist on type '{ name: string; whens: { name: string; error?: string | undefined; }[]; thens: { name: string; error?: string | undefined; }[]; }'.
|
|
452
|
+
src/TestPage.tsx(312,39): error TS2339: Property 'features' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
453
|
+
src/TestPage.tsx(316,45): error TS2339: Property 'features' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
454
|
+
src/TestPage.tsx(333,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
455
|
+
src/TestPage.tsx(337,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
456
|
+
src/TestPage.tsx(361,39): error TS2339: Property 'features' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
457
|
+
src/TestPage.tsx(365,45): error TS2339: Property 'features' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
458
|
+
src/TestPage.tsx(382,35): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
459
|
+
src/TestPage.tsx(386,41): error TS2339: Property 'artifacts' does not exist on type '{ name: string; error?: string | undefined; }'.
|
|
472
460
|
src/utils/api.ts(69,54): error TS2304: Cannot find name 'testName'.
|
|
473
461
|
src/Web.ts(43,7): error TS2345: Argument of type 'ITestImplementation<I, O, M>' is not assignable to parameter of type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M> & M & { ...; }'.
|
|
474
462
|
Type 'Omit<{ suites: TestSuiteImplementation<O>; givens: TestGivenImplementation<I, O>; whens: TestWhenImplementation<I, O>; thens: TestThenImplementation<...>; }, keyof M>' is missing the following properties from type '{ suites: Record<string, any>; givens: Record<string, any>; whens: Record<string, any>; thens: Record<string, any>; }': suites, givens, whens, thens
|
|
475
|
-
src/Web.ts(51,14): error TS2554: Expected 0 arguments, but got 1.
|
|
476
|
-
src/Web.ts(73,14): error TS2554: Expected 0 arguments, but got 1.
|
|
477
463
|
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
|