pareto-test 0.13.24 → 0.13.25

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.
@@ -1,10 +1,10 @@
1
1
  import * as _et from 'exupery-core-types';
2
2
  import * as d_log from "exupery-resources/dist/interface/generated/pareto/schemas/log_error/data_types/target";
3
3
  import * as generic from "../interface/generic";
4
- export declare const run_transformer_tests_with_parameters: <Input, Parameters, Expected>(tests: _et.Dictionary<generic.Transformer_With_Parameters<Input, Parameters, Expected>>, implementation: ($: Input, parameters: Parameters) => Expected) => generic.Results;
4
+ export declare const run_transformer_tests_with_parameters: <Input, Expected, Parameters>(tests: _et.Dictionary<generic.Transformer_With_Parameters<Input, Expected, Parameters>>, implementation: ($: Input, parameters: Parameters) => Expected) => generic.Results;
5
5
  export declare const run_transformer_tests_without_parameters: <Input, Expected>($: _et.Dictionary<generic.Transformer<Input, Expected>>, implementation: ($: Input) => Expected) => generic.Results;
6
- export declare const run_refiner_tests_with_parameters: <Input, Parameters, Expected_Output, Expected_Error>(tests: _et.Dictionary<generic.Refiner_With_Parameters<Input, Parameters, Expected_Output, Expected_Error>>, implementation: ($: Input, parameters: Parameters, abort: (error: Expected_Error) => never) => Expected_Output) => generic.Results;
7
- export declare const run_refiner_tests_without_parameters: <Input, Expected_Output, Expected_Error>($: _et.Dictionary<generic.Refiner_Without_Parameters<Input, Expected_Output, Expected_Error>>, implementation: ($: Input, abort: (error: Expected_Error) => never) => Expected_Output) => generic.Results;
6
+ export declare const run_refiner_tests_with_parameters: <Expected_Output, Expected_Error, Input, Parameters>(tests: _et.Dictionary<generic.Refiner_With_Parameters<Expected_Output, Expected_Error, Input, Parameters>>, implementation: ($: Input, parameters: Parameters, abort: (error: Expected_Error) => never) => Expected_Output) => generic.Results;
7
+ export declare const run_refiner_tests_without_parameters: <Expected_Output, Expected_Error, Input>($: _et.Dictionary<generic.Refiner_Without_Parameters<Expected_Output, Expected_Error, Input>>, implementation: ($: Input, abort: (error: Expected_Error) => never) => Expected_Output) => generic.Results;
8
8
  export type Resources = {
9
9
  'commands': {
10
10
  'log error': _et.Command<d_log.Parameters, null>;
@@ -5,17 +5,17 @@ export type Input_And_Expected<In, Expected> = {
5
5
  };
6
6
  export type Output_Or_Error<Output, Error> = ['output', Output] | ['error', Error];
7
7
  export type Transformer<Input, Expected_Output> = Input_And_Expected<Input, Expected_Output>;
8
- export type Transformer_With_Parameters<Input, Parameters, Expected_Output> = Input_And_Expected<{
8
+ export type Transformer_With_Parameters<Input, Expected_Output, Parameters> = Input_And_Expected<{
9
9
  'input': Input;
10
10
  'parameters': Parameters;
11
11
  }, Expected_Output>;
12
- export type Refiner_Without_Parameters<Input, Expected_Output, Expected_Error> = Input_And_Expected<Input, Output_Or_Error<Expected_Output, Expected_Error>>;
13
- export type Refiner_With_Parameters<Input, Parameters, Expected_Output, Expected_Error> = {
12
+ export type Refiner_Without_Parameters<Expected_Result, Expected_Error, Input> = Input_And_Expected<Input, Output_Or_Error<Expected_Result, Expected_Error>>;
13
+ export type Refiner_With_Parameters<Expected_Result, Expected_Error, Input, Parameters> = {
14
14
  'input': {
15
15
  'input': Input;
16
16
  'parameters': Parameters;
17
17
  };
18
- 'expected': Output_Or_Error<Expected_Output, Expected_Error>;
18
+ 'expected': Output_Or_Error<Expected_Result, Expected_Error>;
19
19
  };
20
20
  export type Results = Branch;
21
21
  export type Branch = _et.Dictionary<Result_Entry>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "pareto-test",
3
- "version": "0.13.24",
3
+ "version": "0.13.25",
4
4
  "description": "A testing framework for Pareto projects",
5
5
  "main": "./dist/index.js",
6
6
  "types": "dist/index.d.ts",
@@ -8,7 +8,7 @@
8
8
  "dist"
9
9
  ],
10
10
  "dependencies": {
11
- "astn": "^0.113.11",
11
+ "astn": "^0.113.12",
12
12
  "exupery-core-alg": "^0.5.15",
13
13
  "exupery-core-async": "^0.3.76",
14
14
  "exupery-core-dev": "^0.3.3",