@overkill-dev/engine 0.0.78 → 0.0.80
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/assertion-protocol/assertion-evaluation.d.ts +13 -0
- package/assertion-protocol/assertion-evaluation.d.ts.map +1 -0
- package/assertion-protocol/assertions/boolean.d.ts +7 -0
- package/assertion-protocol/assertions/boolean.d.ts.map +1 -1
- package/assertion-protocol/assertions/collection.d.ts +9 -0
- package/assertion-protocol/assertions/collection.d.ts.map +1 -1
- package/assertion-protocol/assertions/equality.d.ts +11 -0
- package/assertion-protocol/assertions/equality.d.ts.map +1 -1
- package/assertion-protocol/assertions/fail.d.ts +5 -0
- package/assertion-protocol/assertions/fail.d.ts.map +1 -1
- package/assertion-protocol/assertions/numeric.d.ts +13 -0
- package/assertion-protocol/assertions/numeric.d.ts.map +1 -1
- package/assertion-protocol/assertions/partial.d.ts +9 -0
- package/assertion-protocol/assertions/partial.d.ts.map +1 -1
- package/assertion-protocol/assertions/presence.d.ts +11 -0
- package/assertion-protocol/assertions/presence.d.ts.map +1 -1
- package/assertion-protocol/assertions/string.d.ts +13 -0
- package/assertion-protocol/assertions/string.d.ts.map +1 -1
- package/assertion-protocol/assertions/type-shape.d.ts +19 -0
- package/assertion-protocol/assertions/type-shape.d.ts.map +1 -1
- package/assertion-protocol/source-location-forwarding.d.ts +1 -0
- package/assertion-protocol/source-location-forwarding.d.ts.map +1 -1
- package/assertion-protocol/thrown-matcher.d.ts +2 -1
- package/assertion-protocol/thrown-matcher.d.ts.map +1 -1
- package/compare/comparison-result.d.ts +14 -0
- package/compare/comparison-result.d.ts.map +1 -1
- package/compare/serialized-value-shape.js +2 -5
- package/compare/serialized-value-shape.js.map +1 -1
- package/compare/value-classification.d.ts +23 -0
- package/compare/value-classification.d.ts.map +1 -1
- package/engine/assertion-recorder.d.ts +24 -1
- package/engine/assertion-recorder.d.ts.map +1 -1
- package/engine/async-leak-diagnostics.d.ts +28 -0
- package/engine/async-leak-diagnostics.d.ts.map +1 -0
- package/engine/case-policy.js +3 -3
- package/engine/case-policy.js.map +1 -1
- package/engine/engine.d.ts +1 -0
- package/engine/engine.d.ts.map +1 -1
- package/engine/engine.js +9 -2
- package/engine/engine.js.map +1 -1
- package/engine/execution-async-leak-policy.d.ts +34 -0
- package/engine/execution-async-leak-policy.d.ts.map +1 -1
- package/engine/execution-error-ownership.d.ts +47 -0
- package/engine/execution-error-ownership.d.ts.map +1 -1
- package/engine/execution-error-ownership.js.map +1 -1
- package/engine/execution-options.d.ts +2 -0
- package/engine/execution-options.d.ts.map +1 -1
- package/engine/execution-preparation.d.ts +18 -2
- package/engine/execution-preparation.d.ts.map +1 -1
- package/engine/execution-supervision-state.d.ts +3 -0
- package/engine/execution-supervision-state.d.ts.map +1 -0
- package/engine/execution-supervision.d.ts +2 -0
- package/engine/execution-supervision.d.ts.map +1 -1
- package/engine/family-lifetime.d.ts +2 -0
- package/engine/family-lifetime.d.ts.map +1 -1
- package/engine/family-run.d.ts +4 -0
- package/engine/family-run.d.ts.map +1 -1
- package/engine/family-run.js +7 -2
- package/engine/family-run.js.map +1 -1
- package/engine/plan-collection-policy.d.ts +11 -4
- package/engine/plan-collection-policy.d.ts.map +1 -1
- package/engine/plan-collection-policy.js +12 -1
- package/engine/plan-collection-policy.js.map +1 -1
- package/engine/property-inconclusive.d.ts +1 -0
- package/engine/property-inconclusive.d.ts.map +1 -1
- package/engine/property-plan.d.ts +6 -1
- package/engine/property-plan.d.ts.map +1 -1
- package/engine/property-plan.js +13 -5
- package/engine/property-plan.js.map +1 -1
- package/engine/property-trial.d.ts +15 -0
- package/engine/property-trial.d.ts.map +1 -1
- package/engine/reporter-delivery-preparation.d.ts +24 -0
- package/engine/reporter-delivery-preparation.d.ts.map +1 -0
- package/engine/reporter-delivery-preparation.js +34 -0
- package/engine/reporter-delivery-preparation.js.map +1 -0
- package/engine/reporter-dispatcher.d.ts +5 -2
- package/engine/reporter-dispatcher.d.ts.map +1 -1
- package/engine/reporter-dispatcher.js +21 -17
- package/engine/reporter-dispatcher.js.map +1 -1
- package/engine/reporting-context.d.ts +1 -1
- package/engine/reporting-context.d.ts.map +1 -1
- package/engine/standard-engine.d.ts +1 -0
- package/engine/standard-engine.d.ts.map +1 -1
- package/engine/test-body.d.ts +1 -0
- package/engine/test-body.d.ts.map +1 -1
- package/engine/test-body.js +6 -1
- package/engine/test-body.js.map +1 -1
- package/engine/test-debug-recording.js +1 -2
- package/engine/test-debug-recording.js.map +1 -1
- package/engine/test-node.d.ts +5 -1
- package/engine/test-node.d.ts.map +1 -1
- package/engine/test-node.js +7 -1
- package/engine/test-node.js.map +1 -1
- package/engine/workload-test-case.d.ts +2 -0
- package/engine/workload-test-case.d.ts.map +1 -1
- package/package.json +5 -1
- package/packages/engine/engine.entry-point.d.ts +1 -1
- package/packages/engine/engine.entry-point.d.ts.map +1 -1
- package/packages/engine/engine.entry-point.js.map +1 -1
- package/readme.md +3 -1
- package/software-bill-of-materials.cyclonedx.json +5 -5
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { type ComparisonResult } from '../compare/comparison.ts';
|
|
2
|
+
import type { SerializedValue } from '../compare/serialized-value.ts';
|
|
3
|
+
import type { Diff, DiffPathSegment } from '../diff/diff-shape.ts';
|
|
4
|
+
export type AssertionOutcome = {
|
|
5
|
+
readonly actual: SerializedValue;
|
|
6
|
+
readonly diff: Diff | null;
|
|
7
|
+
readonly expected: SerializedValue;
|
|
8
|
+
readonly passed: boolean;
|
|
9
|
+
readonly path: readonly DiffPathSegment[];
|
|
10
|
+
};
|
|
11
|
+
export declare const assertionOutcome: (actual: unknown, expected: unknown, passed: boolean) => AssertionOutcome;
|
|
12
|
+
export declare function comparisonOutcome(comparison: ComparisonResult): AssertionOutcome;
|
|
13
|
+
//# sourceMappingURL=assertion-evaluation.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"assertion-evaluation.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/assertion-evaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,gBAAgB,EAAqB,MAAM,0BAA0B,CAAC;AACpF,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AACtE,OAAO,KAAK,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnE,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,eAAe,EAAE,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,gBAAgB,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,MAAM,EAAE,OAAO,KAAK,gBACnE,CAAC;AAEtB,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,gBAAgB,GAAG,gBAAgB,CAEhF"}
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { ActualAssertionNode, AssertionSource } from '../assertion-node-shape.ts';
|
|
2
3
|
export type TrueAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'true'>;
|
|
3
4
|
export type FalseAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'false'>;
|
|
5
|
+
export declare const booleanSummaryByCheck: {
|
|
6
|
+
readonly false: "Expected value to be false.";
|
|
7
|
+
readonly true: "Expected value to be true.";
|
|
8
|
+
};
|
|
9
|
+
export declare function evaluateFalse(assertion: FalseAssertionNode): AssertionOutcome;
|
|
10
|
+
export declare function evaluateTrue(assertion: TrueAssertionNode): AssertionOutcome;
|
|
4
11
|
//# sourceMappingURL=boolean.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/boolean.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"boolean.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/boolean.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEvF,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtH,MAAM,MAAM,kBAAkB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;AAExH,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AAEX,wBAAgB,aAAa,CAAC,SAAS,EAAE,kBAAkB,GAAG,gBAAgB,CAE7E;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE3E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { ActualAssertionNode, AssertionSource, ResolvableSourceLocations } from '../assertion-node-shape.ts';
|
|
2
3
|
export type LengthAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
3
4
|
readonly actual: unknown;
|
|
@@ -10,4 +11,12 @@ export type LengthAssertionNode<Source extends AssertionSource = AssertionSource
|
|
|
10
11
|
export type EmptinessAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
11
12
|
readonly [Check in 'empty' | 'not-empty']: ActualAssertionNode<Source, Check>;
|
|
12
13
|
}['empty' | 'not-empty'];
|
|
14
|
+
export declare const collectionSummaryByCheck: {
|
|
15
|
+
readonly empty: "Expected collection to be empty.";
|
|
16
|
+
readonly length: "Expected collection length to match.";
|
|
17
|
+
readonly 'not-empty': "Expected collection not to be empty.";
|
|
18
|
+
};
|
|
19
|
+
export declare function evaluateEmpty(assertion: EmptinessAssertionNode): AssertionOutcome;
|
|
20
|
+
export declare function evaluateLength(assertion: LengthAssertionNode): AssertionOutcome;
|
|
21
|
+
export declare function evaluateNotEmpty(assertion: EmptinessAssertionNode): AssertionOutcome;
|
|
13
22
|
//# sourceMappingURL=collection.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/collection.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"collection.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/collection.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAGlH,MAAM,MAAM,mBAAmB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IAChF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,QAAQ,CAAC;IACzB,QAAQ,CAAC,cAAc,EAAE,MAAM,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IACnF,QAAQ,EAAE,KAAK,IAAI,OAAO,GAAG,WAAW,GAAG,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC;CAChF,CAAC,OAAO,GAAG,WAAW,CAAC,CAAC;AAEzB,eAAO,MAAM,wBAAwB;;;;CAI3B,CAAC;AAEX,wBAAgB,aAAa,CAAC,SAAS,EAAE,sBAAsB,GAAG,gBAAgB,CAQjF;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,mBAAmB,GAAG,gBAAgB,CAS/E;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,sBAAsB,GAAG,gBAAgB,CAQpF"}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { AssertionSource, ExpectedAssertionNode } from '../assertion-node-shape.ts';
|
|
2
3
|
export type EqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'equal'>;
|
|
3
4
|
export type NotEqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'not-equal'>;
|
|
4
5
|
export type DeepEqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'deep-equal'>;
|
|
5
6
|
export type NotDeepEqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'not-deep-equal'>;
|
|
7
|
+
export declare const equalitySummaryByCheck: {
|
|
8
|
+
readonly 'deep-equal': "Expected values to be deeply equal.";
|
|
9
|
+
readonly equal: "Expected values to be equal.";
|
|
10
|
+
readonly 'not-deep-equal': "Expected values not to be deeply equal.";
|
|
11
|
+
readonly 'not-equal': "Expected values not to be equal.";
|
|
12
|
+
};
|
|
13
|
+
export declare function evaluateDeepEqual(assertion: DeepEqualAssertionNode): AssertionOutcome;
|
|
14
|
+
export declare function evaluateEqual(assertion: EqualAssertionNode): AssertionOutcome;
|
|
15
|
+
export declare function evaluateNotDeepEqual(assertion: NotDeepEqualAssertionNode): AssertionOutcome;
|
|
16
|
+
export declare function evaluateNotEqual(assertion: NotEqualAssertionNode): AssertionOutcome;
|
|
6
17
|
//# sourceMappingURL=equality.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"equality.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/equality.ts"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"equality.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/equality.ts"],"names":[],"mappings":"AAKA,OAAO,EAAuC,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACxG,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEzF,MAAM,MAAM,kBAAkB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CACpG,MAAM,EACN,OAAO,CACV,CAAC;AAEF,MAAM,MAAM,qBAAqB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CACvG,MAAM,EACN,WAAW,CACd,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CACxG,MAAM,EACN,YAAY,CACf,CAAC;AAEF,MAAM,MAAM,yBAAyB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CAC3G,MAAM,EACN,gBAAgB,CACnB,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,sBAAsB,GAAG,gBAAgB,CAErF;AAED,wBAAgB,aAAa,CAAC,SAAS,EAAE,kBAAkB,GAAG,gBAAgB,CAM7E;AAED,wBAAgB,oBAAoB,CAAC,SAAS,EAAE,yBAAyB,GAAG,gBAAgB,CAM3F;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,qBAAqB,GAAG,gBAAgB,CAEnF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { AssertionSource, ResolvableSourceLocations } from '../assertion-node-shape.ts';
|
|
2
3
|
export type FailAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
3
4
|
readonly check: 'fail';
|
|
@@ -5,4 +6,8 @@ export type FailAssertionNode<Source extends AssertionSource = AssertionSource>
|
|
|
5
6
|
readonly source: Source;
|
|
6
7
|
readonly sourceLocations: ResolvableSourceLocations;
|
|
7
8
|
};
|
|
9
|
+
export declare const failSummaryByCheck: {
|
|
10
|
+
readonly fail: "Assertion failed.";
|
|
11
|
+
};
|
|
12
|
+
export declare function evaluateFail(assertion: FailAssertionNode): AssertionOutcome;
|
|
8
13
|
//# sourceMappingURL=fail.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/fail.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"fail.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/fail.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,KAAK,EAAE,eAAe,EAAE,yBAAyB,EAAE,MAAM,4BAA4B,CAAC;AAE7F,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IAC9E,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,kBAAkB;;CAErB,CAAC;AAEX,wBAAgB,YAAY,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE3E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { AssertionSource, ExpectedAssertionNode, ResolvableSourceLocations } from '../assertion-node-shape.ts';
|
|
2
3
|
type NumericComparisonCheck = 'greater-than' | 'greater-than-or-equal' | 'less-than' | 'less-than-or-equal';
|
|
3
4
|
export type NumericComparisonAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
@@ -12,5 +13,17 @@ export type BetweenAssertionNode<Source extends AssertionSource = AssertionSourc
|
|
|
12
13
|
readonly source: Source;
|
|
13
14
|
readonly sourceLocations: ResolvableSourceLocations;
|
|
14
15
|
};
|
|
16
|
+
export declare const numericSummaryByCheck: {
|
|
17
|
+
readonly between: "Expected number to be between the bounds.";
|
|
18
|
+
readonly 'greater-than': "Expected number to be greater than the threshold.";
|
|
19
|
+
readonly 'greater-than-or-equal': "Expected number to be greater than or equal to the threshold.";
|
|
20
|
+
readonly 'less-than': "Expected number to be less than the threshold.";
|
|
21
|
+
readonly 'less-than-or-equal': "Expected number to be less than or equal to the threshold.";
|
|
22
|
+
};
|
|
23
|
+
export declare function evaluateBetween(assertion: BetweenAssertionNode): AssertionOutcome;
|
|
24
|
+
export declare function evaluateGreaterThan(assertion: NumericComparisonAssertionNode): AssertionOutcome;
|
|
25
|
+
export declare function evaluateGreaterThanOrEqual(assertion: NumericComparisonAssertionNode): AssertionOutcome;
|
|
26
|
+
export declare function evaluateLessThan(assertion: NumericComparisonAssertionNode): AssertionOutcome;
|
|
27
|
+
export declare function evaluateLessThanOrEqual(assertion: NumericComparisonAssertionNode): AssertionOutcome;
|
|
15
28
|
export {};
|
|
16
29
|
//# sourceMappingURL=numeric.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"numeric.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/numeric.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"numeric.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/numeric.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE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-evaluation.ts';
|
|
1
2
|
import type { AssertionSource, ExpectedAssertionNode } from '../assertion-node-shape.ts';
|
|
2
3
|
export type PartialDeepEqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'partial-deep-equal'>;
|
|
3
4
|
export type ArrayContainsPartialAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'array-contains-partial'>;
|
|
4
5
|
export type MembersPartialDeepEqualAssertionNode<Source extends AssertionSource = AssertionSource> = ExpectedAssertionNode<Source, 'members-partial-deep-equal'>;
|
|
6
|
+
export declare const partialSummaryByCheck: {
|
|
7
|
+
readonly 'array-contains-partial': "Expected array to contain a partial member.";
|
|
8
|
+
readonly 'members-partial-deep-equal': "Expected array to contain the partial members.";
|
|
9
|
+
readonly 'partial-deep-equal': "Expected value to partially match.";
|
|
10
|
+
};
|
|
11
|
+
export declare function evaluateArrayContainsPartial(assertion: ArrayContainsPartialAssertionNode): AssertionOutcome;
|
|
12
|
+
export declare function evaluateMembersPartialDeepEqual(assertion: MembersPartialDeepEqualAssertionNode): AssertionOutcome;
|
|
13
|
+
export declare function evaluatePartialDeepEqual(assertion: PartialDeepEqualAssertionNode): AssertionOutcome;
|
|
5
14
|
//# sourceMappingURL=partial.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"partial.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/partial.ts"],"names":[],"mappings":"AAKA,
|
|
1
|
+
{"version":3,"file":"partial.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/partial.ts"],"names":[],"mappings":"AAKA,OAAO,EAAqB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACtF,OAAO,KAAK,EAAE,eAAe,EAAE,qBAAqB,EAAE,MAAM,4BAA4B,CAAC;AAEzF,MAAM,MAAM,6BAA6B,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CAC/G,MAAM,EACN,oBAAoB,CACvB,CAAC;AAEF,MAAM,MAAM,iCAAiC,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,qBAAqB,CACnH,MAAM,EACN,wBAAwB,CAC3B,CAAC;AAEF,MAAM,MAAM,oCAAoC,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAC7F,qBAAqB,CAAC,MAAM,EAAE,4BAA4B,CAAC,CAAC;AAEhE,eAAO,MAAM,qBAAqB;;;;CAIxB,CAAC;AAEX,wBAAgB,4BAA4B,CAAC,SAAS,EAAE,iCAAiC,GAAG,gBAAgB,CAE3G;AAED,wBAAgB,+BAA+B,CAAC,SAAS,EAAE,oCAAoC,GAAG,gBAAgB,CAEjH;AAED,wBAAgB,wBAAwB,CAAC,SAAS,EAAE,6BAA6B,GAAG,gBAAgB,CAEnG"}
|
|
@@ -1,6 +1,17 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { ActualAssertionNode, AssertionSource } from '../assertion-node-shape.ts';
|
|
2
3
|
export type DefinedAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'defined'>;
|
|
3
4
|
export type NullAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'null'>;
|
|
4
5
|
export type NotNullAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'not-null'>;
|
|
5
6
|
export type UndefinedAssertionNode<Source extends AssertionSource = AssertionSource> = ActualAssertionNode<Source, 'undefined'>;
|
|
7
|
+
export declare const presenceSummaryByCheck: {
|
|
8
|
+
readonly defined: "Expected value to be defined.";
|
|
9
|
+
readonly 'not-null': "Expected value not to be null.";
|
|
10
|
+
readonly null: "Expected value to be null.";
|
|
11
|
+
readonly undefined: "Expected value to be undefined.";
|
|
12
|
+
};
|
|
13
|
+
export declare function evaluateDefined(assertion: DefinedAssertionNode): AssertionOutcome;
|
|
14
|
+
export declare function evaluateNotNull(assertion: NotNullAssertionNode): AssertionOutcome;
|
|
15
|
+
export declare function evaluateNull(assertion: NullAssertionNode): AssertionOutcome;
|
|
16
|
+
export declare function evaluateUndefined(assertion: UndefinedAssertionNode): AssertionOutcome;
|
|
6
17
|
//# sourceMappingURL=presence.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/presence.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"presence.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/presence.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,KAAK,EAAE,mBAAmB,EAAE,eAAe,EAAE,MAAM,4BAA4B,CAAC;AAEvF,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CACpG,MAAM,EACN,SAAS,CACZ,CAAC;AAEF,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;AAEtH,MAAM,MAAM,oBAAoB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CACpG,MAAM,EACN,UAAU,CACb,CAAC;AAEF,MAAM,MAAM,sBAAsB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI,mBAAmB,CACtG,MAAM,EACN,WAAW,CACd,CAAC;AAEF,eAAO,MAAM,sBAAsB;;;;;CAKzB,CAAC;AAEX,wBAAgB,eAAe,CAAC,SAAS,EAAE,oBAAoB,GAAG,gBAAgB,CAMjF;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,oBAAoB,GAAG,gBAAgB,CAEjF;AAED,wBAAgB,YAAY,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE3E;AAED,wBAAgB,iBAAiB,CAAC,SAAS,EAAE,sBAAsB,GAAG,gBAAgB,CAErF"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { AssertionSource, ExpectedAssertionNode, ResolvableSourceLocations } from '../assertion-node-shape.ts';
|
|
2
3
|
export type MatchAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
3
4
|
readonly [Check in 'match' | 'not-match']: {
|
|
@@ -12,4 +13,16 @@ export type MatchAssertionNode<Source extends AssertionSource = AssertionSource>
|
|
|
12
13
|
export type StringContainsAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
13
14
|
readonly [Check in 'ends-with' | 'includes' | 'starts-with']: ExpectedAssertionNode<Source, Check>;
|
|
14
15
|
}['ends-with' | 'includes' | 'starts-with'];
|
|
16
|
+
export declare const stringSummaryByCheck: {
|
|
17
|
+
readonly 'ends-with': "Expected string to end with the value.";
|
|
18
|
+
readonly includes: "Expected string to include the value.";
|
|
19
|
+
readonly match: "Expected string to match the pattern.";
|
|
20
|
+
readonly 'not-match': "Expected string not to match the pattern.";
|
|
21
|
+
readonly 'starts-with': "Expected string to start with the value.";
|
|
22
|
+
};
|
|
23
|
+
export declare function evaluateEndsWith(assertion: StringContainsAssertionNode): AssertionOutcome;
|
|
24
|
+
export declare function evaluateIncludes(assertion: StringContainsAssertionNode): AssertionOutcome;
|
|
25
|
+
export declare function evaluateMatch(assertion: MatchAssertionNode): AssertionOutcome;
|
|
26
|
+
export declare function evaluateNotMatch(assertion: MatchAssertionNode): AssertionOutcome;
|
|
27
|
+
export declare function evaluateStartsWith(assertion: StringContainsAssertionNode): AssertionOutcome;
|
|
15
28
|
//# sourceMappingURL=string.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"string.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/string.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"string.d.ts","sourceRoot":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,EAAE,2BAA2B,GAAG,gBAAgB,CAM3F"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { type AssertionOutcome } from '../assertion-evaluation.ts';
|
|
1
2
|
import type { ActualAssertionNode, AssertionSource, InstanceConstructor, ResolvableSourceLocations } from '../assertion-node-shape.ts';
|
|
2
3
|
type TypeAssertionCheck = 'array' | 'boolean' | 'function' | 'number' | 'object' | 'string';
|
|
3
4
|
export type TypeAssertionNode<Source extends AssertionSource = AssertionSource> = {
|
|
@@ -19,5 +20,23 @@ export type HasPropertyAssertionNode<Source extends AssertionSource = AssertionS
|
|
|
19
20
|
readonly source: Source;
|
|
20
21
|
readonly sourceLocations: ResolvableSourceLocations;
|
|
21
22
|
};
|
|
23
|
+
export declare const typeShapeSummaryByCheck: {
|
|
24
|
+
readonly array: "Expected value to be an array.";
|
|
25
|
+
readonly boolean: "Expected value to be a boolean.";
|
|
26
|
+
readonly function: "Expected value to be a function.";
|
|
27
|
+
readonly 'has-property': "Expected object to have the own property.";
|
|
28
|
+
readonly 'instance-of': "Expected value to be an instance of the constructor.";
|
|
29
|
+
readonly number: "Expected value to be a number.";
|
|
30
|
+
readonly object: "Expected value to be an object.";
|
|
31
|
+
readonly string: "Expected value to be a string.";
|
|
32
|
+
};
|
|
33
|
+
export declare function evaluateArray(assertion: TypeAssertionNode): AssertionOutcome;
|
|
34
|
+
export declare function evaluateBoolean(assertion: TypeAssertionNode): AssertionOutcome;
|
|
35
|
+
export declare function evaluateFunction(assertion: TypeAssertionNode): AssertionOutcome;
|
|
36
|
+
export declare function evaluateHasProperty(assertion: HasPropertyAssertionNode): AssertionOutcome;
|
|
37
|
+
export declare function evaluateInstanceOf(assertion: InstanceOfAssertionNode): AssertionOutcome;
|
|
38
|
+
export declare function evaluateNumber(assertion: TypeAssertionNode): AssertionOutcome;
|
|
39
|
+
export declare function evaluateObject(assertion: TypeAssertionNode): AssertionOutcome;
|
|
40
|
+
export declare function evaluateString(assertion: TypeAssertionNode): AssertionOutcome;
|
|
22
41
|
export {};
|
|
23
42
|
//# sourceMappingURL=type-shape.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"type-shape.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/type-shape.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"type-shape.d.ts","sourceRoot":"","sources":["../../../../../source/assertion-protocol/assertions/type-shape.ts"],"names":[],"mappings":"AAAA,OAAO,EAAoB,KAAK,gBAAgB,EAAE,MAAM,4BAA4B,CAAC;AACrF,OAAO,KAAK,EACR,mBAAmB,EACnB,eAAe,EACf,mBAAmB,EACnB,yBAAyB,EAC5B,MAAM,4BAA4B,CAAC;AAGpC,KAAK,kBAAkB,GAAG,OAAO,GAAG,SAAS,GAAG,UAAU,GAAG,QAAQ,GAAG,QAAQ,GAAG,QAAQ,CAAC;AAE5F,MAAM,MAAM,iBAAiB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IAC9E,QAAQ,EAAE,KAAK,IAAI,kBAAkB,GAAG,mBAAmB,CAAC,MAAM,EAAE,KAAK,CAAC;CAC7E,CAAC,kBAAkB,CAAC,CAAC;AAEtB,MAAM,MAAM,uBAAuB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IACpF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,CAAC;IACvC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;CACvD,CAAC;AAEF,MAAM,MAAM,wBAAwB,CAAC,MAAM,SAAS,eAAe,GAAG,eAAe,IAAI;IACrF,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B,QAAQ,CAAC,GAAG,EAAE,WAAW,CAAC;IAC1B,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;CACvD,CAAC;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;CAS1B,CAAC;AAUX,wBAAgB,aAAa,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE5E;AAED,wBAAgB,eAAe,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE9E;AAED,wBAAgB,gBAAgB,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE/E;AAED,wBAAgB,mBAAmB,CAAC,SAAS,EAAE,wBAAwB,GAAG,gBAAgB,CAMzF;AAED,wBAAgB,kBAAkB,CAAC,SAAS,EAAE,uBAAuB,GAAG,gBAAgB,CAEvF;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE7E;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE7E;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,iBAAiB,GAAG,gBAAgB,CAE7E"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
import type { NonEmptyReadonlyArray, ResolvableSourceLocation } from './assertion-node-shape.ts';
|
|
2
|
+
export declare function sourceLocationsWithCurrentForwarding(captureLocation: () => ResolvableSourceLocation): NonEmptyReadonlyArray<ResolvableSourceLocation>;
|
|
2
3
|
export declare function forwardAssertionSourceLocations<Result>(sourceLocations: NonEmptyReadonlyArray<ResolvableSourceLocation>, body: () => Result): Result;
|
|
3
4
|
//# sourceMappingURL=source-location-forwarding.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"source-location-forwarding.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/source-location-forwarding.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,qBAAqB,EACrB,wBAAwB,EAC3B,MAAM,2BAA2B,CAAC;AAmCnC,
|
|
1
|
+
{"version":3,"file":"source-location-forwarding.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/source-location-forwarding.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EACR,qBAAqB,EACrB,wBAAwB,EAC3B,MAAM,2BAA2B,CAAC;AAmCnC,wBAAgB,oCAAoC,CAChD,eAAe,EAAE,MAAM,wBAAwB,GAChD,qBAAqB,CAAC,wBAAwB,CAAC,CASjD;AAED,wBAAgB,+BAA+B,CAAC,MAAM,EAClD,eAAe,EAAE,qBAAqB,CAAC,wBAAwB,CAAC,EAChE,IAAI,EAAE,MAAM,MAAM,GACnB,MAAM,CAOR"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { CompositeAssertionChildNode } from './assertion-node.ts';
|
|
1
|
+
import type { CompositeAssertionChildNode, CompositeAssertionNode } from './assertion-node.ts';
|
|
2
2
|
import type { AssertionSource, InstanceConstructor, NonEmptyReadonlyArray, ResolvableSourceLocations } from './assertion-node-shape.ts';
|
|
3
3
|
type OptionalFields<Shape, RequiredKey extends keyof Shape> = {
|
|
4
4
|
readonly [ShapeKey in keyof Shape as ShapeKey extends RequiredKey ? never : ShapeKey]?: Shape[ShapeKey];
|
|
@@ -46,5 +46,6 @@ type ThrownAssertionInput<Source extends AssertionSource> = {
|
|
|
46
46
|
readonly sourceLocations: ResolvableSourceLocations;
|
|
47
47
|
};
|
|
48
48
|
export declare function thrownMatcherChildren<Source extends AssertionSource>(input: ThrownAssertionInput<Source>): NonEmptyReadonlyArray<CompositeAssertionChildNode<Source>>;
|
|
49
|
+
export declare function createThrownMatcherAssertion<Source extends AssertionSource>(input: ThrownAssertionInput<Source>): CompositeAssertionNode<Source>;
|
|
49
50
|
export {};
|
|
50
51
|
//# sourceMappingURL=thrown-matcher.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-matcher.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/thrown-matcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,
|
|
1
|
+
{"version":3,"file":"thrown-matcher.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/thrown-matcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,2BAA2B,EAC3B,sBAAsB,EACzB,MAAM,qBAAqB,CAAC;AAC7B,OAAO,KAAK,EACR,eAAe,EACf,mBAAmB,EACnB,qBAAqB,EACrB,yBAAyB,EAC5B,MAAM,2BAA2B,CAAC;AAEnC,KAAK,cAAc,CAAC,KAAK,EAAE,WAAW,SAAS,MAAM,KAAK,IAAI;IAC1D,QAAQ,EAAE,QAAQ,IAAI,MAAM,KAAK,IAAI,QAAQ,SAAS,WAAW,GAAG,KAAK,GAAG,QAAQ,CAAC,CAAC,EAAE,KAAK,CAAC,QAAQ,CAAC;CAC1G,CAAC;AAEF,KAAK,aAAa,CAAC,KAAK,EAAE,WAAW,SAAS,MAAM,KAAK,IAAI;IACzD,QAAQ,EAAE,QAAQ,IAAI,WAAW,CAAC,CAAC,GAAG,KAAK,CAAC,QAAQ,CAAC;CACxD,CAAC;AAEF,KAAK,iBAAiB,CAAC,KAAK,EAAE,GAAG,SAAS,MAAM,KAAK,GAAG,MAAM,KAAK,IAAI;IACnE,QAAQ,EAAE,WAAW,IAAI,GAAG,GAAG,cAAc,CAAC,KAAK,EAAE,WAAW,CAAC,GAAG,aAAa,CAAC,KAAK,EAAE,WAAW,CAAC;CACxG,CAAC,GAAG,CAAC,CAAC;AAEP,KAAK,gBAAgB,GAAG,mBAAmB,GAAG,CAAC,QAAQ,MAAM,GAAG,IAAI,EAAE,KAAK,EAAE,KAAK,KAAK,CAAC,CAAC;AAEzF,KAAK,kBAAkB,GAAG;IACtB,QAAQ,CAAC,KAAK,EAAE,aAAa,CAAC;IAC9B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C;IACnC,QAAQ,CAAC,KAAK,EAAE,OAAO,CAAC;CAC3B,CAAC;AAEF,KAAK,oBAAoB,CAAC,MAAM,SAAS,eAAe,IAAI;IACxD,QAAQ,CAAC,IAAI,EAAE,mBAAmB,CAAC;IACnC,QAAQ,CAAC,OAAO,EAAE,aAAa,CAAC;IAChC,QAAQ,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,QAAQ,CAAC,WAAW,EAAE,0BAA0B,CAAC;IACjD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,eAAe,EAAE,yBAAyB,CAAC;CACvD,CAAC;AA8RF,wBAAgB,qBAAqB,CAAC,MAAM,SAAS,eAAe,EAChE,KAAK,EAAE,oBAAoB,CAAC,MAAM,CAAC,GACpC,qBAAqB,CAAC,2BAA2B,CAAC,MAAM,CAAC,CAAC,CAS5D;AAMD,wBAAgB,4BAA4B,CAAC,MAAM,SAAS,eAAe,EACvE,KAAK,EAAE,oBAAoB,CAAC,MAAM,CAAC,GACpC,sBAAsB,CAAC,MAAM,CAAC,CAYhC"}
|
|
@@ -7,5 +7,19 @@ export type ComparisonResult = {
|
|
|
7
7
|
readonly passed: boolean;
|
|
8
8
|
readonly path: readonly DiffPathSegment[];
|
|
9
9
|
};
|
|
10
|
+
type ComparisonResultInput = {
|
|
11
|
+
readonly actual: unknown;
|
|
12
|
+
readonly diff: Diff | null;
|
|
13
|
+
readonly expected: unknown;
|
|
14
|
+
readonly passed: boolean;
|
|
15
|
+
readonly path: readonly DiffPathSegment[];
|
|
16
|
+
};
|
|
17
|
+
export declare const emptyPath: readonly DiffPathSegment[];
|
|
18
|
+
export declare function firstDiffPath(diff: Diff | null): readonly DiffPathSegment[];
|
|
19
|
+
export declare function comparisonResult(input: ComparisonResultInput): ComparisonResult;
|
|
20
|
+
export declare function passedResult(actual: unknown, expected: unknown): ComparisonResult;
|
|
21
|
+
export declare function failedResult(actual: unknown, expected: unknown, diff: Diff | null): ComparisonResult;
|
|
22
|
+
export declare function serializedValueDiff(actual: unknown, expected: unknown): Diff;
|
|
23
|
+
export declare function valueMismatch(actual: unknown, expected: unknown): ComparisonResult;
|
|
10
24
|
export {};
|
|
11
25
|
//# sourceMappingURL=comparison-result.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"comparison-result.d.ts","sourceRoot":"","sources":["../../../../source/compare/comparison-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAER,IAAI,EACJ,eAAe,EAIlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,uBAAuB,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,eAAe,EAAE,CAAC;CAC7C,CAAC;
|
|
1
|
+
{"version":3,"file":"comparison-result.d.ts","sourceRoot":"","sources":["../../../../source/compare/comparison-result.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAER,IAAI,EACJ,eAAe,EAIlB,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAE,KAAK,eAAe,EAAkB,MAAM,uBAAuB,CAAC;AAE7E,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,eAAe,EAAE,CAAC;CAC7C,CAAC;AAEF,KAAK,qBAAqB,GAAG;IACzB,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC;IAC3B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,eAAe,EAAE,CAAC;CAC7C,CAAC;AAEF,eAAO,MAAM,SAAS,EAAE,SAAS,eAAe,EAAO,CAAC;AAoBxD,wBAAgB,aAAa,CAAC,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,SAAS,eAAe,EAAE,CAQ3E;AAED,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,qBAAqB,GAAG,gBAAgB,CAQ/E;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,gBAAgB,CAEjF;AAED,wBAAgB,YAAY,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,IAAI,EAAE,IAAI,GAAG,IAAI,GAAG,gBAAgB,CAEpG;AAED,wBAAgB,mBAAmB,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,IAAI,CAM5E;AAED,wBAAgB,aAAa,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,gBAAgB,CAElF"}
|
|
@@ -1,12 +1,9 @@
|
|
|
1
|
-
const bytesPerKilobyte = 1024;
|
|
2
|
-
const defaultOperandKilobytes = 64;
|
|
3
|
-
const defaultStringKilobytes = 8;
|
|
4
1
|
export const defaultSerializationBudget = {
|
|
5
2
|
arrayEntries: 100,
|
|
6
3
|
depth: 8,
|
|
7
4
|
objectEntries: 100,
|
|
8
|
-
operandBytes:
|
|
9
|
-
stringBytes:
|
|
5
|
+
operandBytes: (65536),
|
|
6
|
+
stringBytes: (8192),
|
|
10
7
|
visitedNodes: 2000
|
|
11
8
|
};
|
|
12
9
|
//# sourceMappingURL=serialized-value-shape.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"serialized-value-shape.js","sourceRoot":"","sources":["../../../../source/compare/serialized-value-shape.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"serialized-value-shape.js","sourceRoot":"","sources":["../../../../source/compare/serialized-value-shape.ts"],"names":[],"mappings":"AAgJA,MAAM,CAAC,MAAM,0BAA0B,GAAwB;IAC3D,YAAY,EAAE,GAAG;IACjB,KAAK,EAAE,CAAC;IACR,aAAa,EAAE,GAAG;IAClB,YAAY,SAA4C;IACxD,WAAW,QAA2C;IACtD,YAAY,EAAE,IAAI;CACrB,CAAC"}
|
|
@@ -1,3 +1,26 @@
|
|
|
1
1
|
export type ByteSource = ArrayBuffer | ArrayBufferView;
|
|
2
|
+
type ByteSourcePair = {
|
|
3
|
+
readonly actual: ByteSource;
|
|
4
|
+
readonly expected: ByteSource;
|
|
5
|
+
};
|
|
6
|
+
type MapPair = {
|
|
7
|
+
readonly actual: ReadonlyMap<unknown, unknown>;
|
|
8
|
+
readonly expected: ReadonlyMap<unknown, unknown>;
|
|
9
|
+
};
|
|
10
|
+
type SetPair = {
|
|
11
|
+
readonly actual: ReadonlySet<unknown>;
|
|
12
|
+
readonly expected: ReadonlySet<unknown>;
|
|
13
|
+
};
|
|
14
|
+
export declare function isByteSource(value: unknown): value is ByteSource;
|
|
15
|
+
export declare function byteSourcePair(actual: unknown, expected: unknown): ByteSourcePair | null;
|
|
16
|
+
export declare function isDateValue(value: unknown): value is Date;
|
|
17
|
+
export declare function isRegExpValue(value: unknown): value is RegExp;
|
|
18
|
+
export declare function isErrorValue(value: unknown): value is Error;
|
|
19
|
+
export declare function mapPair(actual: unknown, expected: unknown): MapPair | null;
|
|
20
|
+
export declare function setPair(actual: unknown, expected: unknown): SetPair | null;
|
|
21
|
+
export declare const isMapCandidate: (value: unknown) => boolean;
|
|
22
|
+
export declare const isSetCandidate: (value: unknown) => boolean;
|
|
23
|
+
export declare function isOpaqueIdentityValue(value: unknown): boolean;
|
|
24
|
+
export declare function prototypeOf(value: unknown): unknown;
|
|
2
25
|
export {};
|
|
3
26
|
//# sourceMappingURL=value-classification.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"value-classification.d.ts","sourceRoot":"","sources":["../../../../source/compare/value-classification.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"value-classification.d.ts","sourceRoot":"","sources":["../../../../source/compare/value-classification.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,UAAU,GAAG,WAAW,GAAG,eAAe,CAAC;AAEvD,KAAK,cAAc,GAAG;IAClB,QAAQ,CAAC,MAAM,EAAE,UAAU,CAAC;IAC5B,QAAQ,CAAC,QAAQ,EAAE,UAAU,CAAC;CACjC,CAAC;AAEF,KAAK,OAAO,GAAG;IACX,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAC/C,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;CACpD,CAAC;AAEF,KAAK,OAAO,GAAG;IACX,QAAQ,CAAC,MAAM,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;IACtC,QAAQ,CAAC,QAAQ,EAAE,WAAW,CAAC,OAAO,CAAC,CAAC;CAC3C,CAAC;AAkBF,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE;AAED,wBAAgB,cAAc,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,cAAc,GAAG,IAAI,CAQxF;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,IAAI,CAMzD;AAED,wBAAgB,aAAa,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,MAAM,CAM7D;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,KAAK,CAM3D;AAkBD,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAE1E;AAED,wBAAgB,OAAO,CAAC,MAAM,EAAE,OAAO,EAAE,QAAQ,EAAE,OAAO,GAAG,OAAO,GAAG,IAAI,CAE1E;AAED,eAAO,MAAM,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAoB,CAAC;AAEtE,eAAO,MAAM,cAAc,EAAE,CAAC,KAAK,EAAE,OAAO,KAAK,OAAoB,CAAC;AA0BtE,wBAAgB,qBAAqB,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAE7D;AAED,wBAAgB,WAAW,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAQnD"}
|
|
@@ -1,5 +1,25 @@
|
|
|
1
|
+
import type { AssertAssertionNode, AssertionNode, AssertionResult, RequireAssertionNode } from '../assertion-protocol/assertion-node.ts';
|
|
2
|
+
import type { NonEmptyReadonlyArray } from '../assertion-protocol/assertion-node-shape.ts';
|
|
3
|
+
import type { PropertyInvocationEvidence } from './property-failure-evidence.ts';
|
|
1
4
|
import type { TestContractFailure } from './run-result.ts';
|
|
2
|
-
|
|
5
|
+
type PendingRecordedAssert = {
|
|
6
|
+
readonly resolve: (assertion: AssertAssertionNode) => void;
|
|
7
|
+
};
|
|
8
|
+
export type AssertionRecorder = {
|
|
9
|
+
readonly recordPropertyEvidence: (evidence: PropertyInvocationEvidence) => void;
|
|
10
|
+
readonly propertyEvidence: () => readonly PropertyInvocationEvidence[];
|
|
11
|
+
readonly activeRecordedAssertions: () => readonly AssertionNode[];
|
|
12
|
+
readonly collect: () => NonEmptyReadonlyArray<AssertAssertionNode>;
|
|
13
|
+
readonly completedThrowingAssertions: () => TestContractFailure | readonly AssertionNode[];
|
|
14
|
+
readonly failContract: (failure: TestContractFailure) => never;
|
|
15
|
+
readonly plan: (count: number) => void;
|
|
16
|
+
readonly recordAssert: (assertion: AssertAssertionNode) => void;
|
|
17
|
+
readonly recordPendingAssert: () => PendingRecordedAssert;
|
|
18
|
+
readonly recordRequire: (assertion: RequireAssertionNode) => void;
|
|
19
|
+
readonly requireFailed: () => boolean;
|
|
20
|
+
readonly returnedAssertions: (assertionResult: AssertionResult) => TestContractFailure | readonly AssertionNode[];
|
|
21
|
+
readonly validateAssertionCount: (assertionCount: number) => TestContractFailure | null;
|
|
22
|
+
};
|
|
3
23
|
export declare class RequireFailedSignalError extends Error {
|
|
4
24
|
constructor();
|
|
5
25
|
}
|
|
@@ -8,5 +28,8 @@ export declare class TestContractSignalError extends Error {
|
|
|
8
28
|
constructor(failure: TestContractFailure, options: Readonly<ErrorOptions> | undefined);
|
|
9
29
|
failure(): TestContractFailure;
|
|
10
30
|
}
|
|
31
|
+
export declare function assertNonEmptyItems<Item>(items: readonly Item[], message: string): asserts items is NonEmptyReadonlyArray<Item>;
|
|
32
|
+
export declare function isTestContractFailure(value: TestContractFailure | readonly AssertionNode[]): value is TestContractFailure;
|
|
33
|
+
export declare function createAssertionRecorder(): AssertionRecorder;
|
|
11
34
|
export {};
|
|
12
35
|
//# sourceMappingURL=assertion-recorder.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"assertion-recorder.d.ts","sourceRoot":"","sources":["../../../../source/engine/assertion-recorder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,
|
|
1
|
+
{"version":3,"file":"assertion-recorder.d.ts","sourceRoot":"","sources":["../../../../source/engine/assertion-recorder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EACR,mBAAmB,EACnB,aAAa,EACb,eAAe,EACf,oBAAoB,EACvB,MAAM,yCAAyC,CAAC;AACjD,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAG3F,OAAO,KAAK,EAAE,0BAA0B,EAAE,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KAAK;;CAKlD;AAED,qBAAa,uBAAwB,SAAQ,KAAK;IAC9C,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAsB;gBAEnC,OAAO,EAAE,mBAAmB,EAAE,OAAO,EAAE,QAAQ,CAAC,YAAY,CAAC,GAAG,SAAS;IAMrF,OAAO,IAAI,mBAAmB;CAGxC;AAED,wBAAgB,mBAAmB,CAAC,IAAI,EACpC,KAAK,EAAE,SAAS,IAAI,EAAE,EACtB,OAAO,EAAE,MAAM,GAChB,OAAO,CAAC,KAAK,IAAI,qBAAqB,CAAC,IAAI,CAAC,CAI9C;AAoDD,wBAAgB,qBAAqB,CACjC,KAAK,EAAE,mBAAmB,GAAG,SAAS,aAAa,EAAE,GACtD,KAAK,IAAI,mBAAmB,CAE9B;AA6HD,wBAAgB,uBAAuB,IAAI,iBAAiB,CA+I3D"}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import type { CaseId, WorkId } from './identity.ts';
|
|
2
|
+
import type { RunnerError } from './run-result.ts';
|
|
3
|
+
import type { TestPlanCase } from './test-plan.ts';
|
|
4
|
+
export type AsyncLeakMonitor = {
|
|
5
|
+
readonly runOutsideCase: <Value>(run: () => Promise<Value>) => Promise<Value>;
|
|
6
|
+
readonly casePromiseLeakError: (testCase: TestPlanCase) => RunnerError | null;
|
|
7
|
+
readonly runCase: <Value>(testCase: TestPlanCase, run: () => Promise<Value>) => Promise<Value>;
|
|
8
|
+
readonly stop: () => void;
|
|
9
|
+
};
|
|
10
|
+
export declare function createDisabledAsyncLeakMonitor(): AsyncLeakMonitor;
|
|
11
|
+
type ActiveResourceLeakCause = {
|
|
12
|
+
readonly capability: 'async-leak';
|
|
13
|
+
readonly leak: 'active-resource';
|
|
14
|
+
readonly phase: 'body' | 'run';
|
|
15
|
+
readonly resourceTypes: readonly string[];
|
|
16
|
+
readonly strictness: 'observed';
|
|
17
|
+
};
|
|
18
|
+
type ActiveResourceLeakInput = {
|
|
19
|
+
readonly after: readonly string[];
|
|
20
|
+
readonly attributedTo: CaseId | null;
|
|
21
|
+
readonly attributedToWork: WorkId | null;
|
|
22
|
+
readonly before: readonly string[];
|
|
23
|
+
readonly phase: ActiveResourceLeakCause['phase'];
|
|
24
|
+
};
|
|
25
|
+
export declare function activeResourceLeakError(input: ActiveResourceLeakInput): RunnerError | null;
|
|
26
|
+
export declare function createAsyncLeakMonitor(): AsyncLeakMonitor;
|
|
27
|
+
export {};
|
|
28
|
+
//# sourceMappingURL=async-leak-diagnostics.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"async-leak-diagnostics.d.ts","sourceRoot":"","sources":["../../../../source/engine/async-leak-diagnostics.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,eAAe,CAAC;AACpD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AACnD,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAcnD,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,cAAc,EAAE,CAAC,KAAK,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;IAC9E,QAAQ,CAAC,oBAAoB,EAAE,CAAC,QAAQ,EAAE,YAAY,KAAK,WAAW,GAAG,IAAI,CAAC;IAC9E,QAAQ,CAAC,OAAO,EAAE,CAAC,KAAK,EAAE,QAAQ,EAAE,YAAY,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC,KAAK,CAAC,KAAK,OAAO,CAAC,KAAK,CAAC,CAAC;IAC/F,QAAQ,CAAC,IAAI,EAAE,MAAM,IAAI,CAAC;CAC7B,CAAC;AAEF,wBAAgB,8BAA8B,IAAI,gBAAgB,CAejE;AAED,KAAK,uBAAuB,GAAG;IAC3B,QAAQ,CAAC,UAAU,EAAE,YAAY,CAAC;IAClC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;IACjC,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,CAAC;IAC/B,QAAQ,CAAC,aAAa,EAAE,SAAS,MAAM,EAAE,CAAC;IAC1C,QAAQ,CAAC,UAAU,EAAE,UAAU,CAAC;CACnC,CAAC;AAWF,KAAK,uBAAuB,GAAG;IAC3B,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,YAAY,EAAE,MAAM,GAAG,IAAI,CAAC;IACrC,QAAQ,CAAC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAC;IACzC,QAAQ,CAAC,MAAM,EAAE,SAAS,MAAM,EAAE,CAAC;IACnC,QAAQ,CAAC,KAAK,EAAE,uBAAuB,CAAC,OAAO,CAAC,CAAC;CACpD,CAAC;AA2CF,wBAAgB,uBAAuB,CAAC,KAAK,EAAE,uBAAuB,GAAG,WAAW,GAAG,IAAI,CA4B1F;AA+CD,wBAAgB,sBAAsB,IAAI,gBAAgB,CA6EzD"}
|
package/engine/case-policy.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { readTestBodyFamily } from "./test-body.js";
|
|
1
|
+
import { readTestBodyFamily, isPropertyBodyAttachment } from "./test-body.js";
|
|
2
2
|
function resolvedPropertyExecutionError(testCase) {
|
|
3
3
|
const { execution } = testCase;
|
|
4
4
|
if (execution.kind !== 'body' || execution.bodyMode !== 'property') {
|
|
@@ -7,7 +7,7 @@ function resolvedPropertyExecutionError(testCase) {
|
|
|
7
7
|
if (execution.policy.kind !== 'resolved') {
|
|
8
8
|
return new TypeError('Property execution requires resolved collection policy.');
|
|
9
9
|
}
|
|
10
|
-
return testCase.resourceAttachments.resourceGraph.length === 0
|
|
10
|
+
return testCase.testFamily === 'integration' || testCase.resourceAttachments.resourceGraph.length === 0
|
|
11
11
|
? null
|
|
12
12
|
: new TypeError('Property execution cannot use resource descriptors.');
|
|
13
13
|
}
|
|
@@ -19,7 +19,7 @@ export function testBodyExecutionError(testCase) {
|
|
|
19
19
|
if (execution.bodyMode === 'property') {
|
|
20
20
|
return resolvedPropertyExecutionError(testCase);
|
|
21
21
|
}
|
|
22
|
-
if (readTestBodyFamily(execution.body)
|
|
22
|
+
if (isPropertyBodyAttachment(readTestBodyFamily(execution.body))) {
|
|
23
23
|
return new TypeError('Property execution requires a collected property declaration.');
|
|
24
24
|
}
|
|
25
25
|
return null;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"case-policy.js","sourceRoot":"","sources":["../../../../source/engine/case-policy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,gBAAgB,CAAC;
|
|
1
|
+
{"version":3,"file":"case-policy.js","sourceRoot":"","sources":["../../../../source/engine/case-policy.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,wBAAwB,EAAE,MAAM,gBAAgB,CAAC;AAE9E,SAAS,8BAA8B,CAAC,QAAsB;IAC1D,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC;IAC/B,IAAI,SAAS,CAAC,IAAI,KAAK,MAAM,IAAI,SAAS,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;QACjE,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,SAAS,CAAC,MAAM,CAAC,IAAI,KAAK,UAAU,EAAE,CAAC;QACvC,OAAO,IAAI,SAAS,CAAC,yDAAyD,CAAC,CAAC;IACpF,CAAC;IACD,OAAO,QAAQ,CAAC,UAAU,KAAK,aAAa,IAAI,QAAQ,CAAC,mBAAmB,CAAC,aAAa,CAAC,MAAM,KAAK,CAAC;QACnG,CAAC,CAAC,IAAI;QACN,CAAC,CAAC,IAAI,SAAS,CAAC,qDAAqD,CAAC,CAAC;AAC/E,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,QAAsB;IACzD,MAAM,EAAE,SAAS,EAAE,GAAG,QAAQ,CAAC;IAC/B,IAAI,SAAS,CAAC,IAAI,KAAK,MAAM,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IACD,IAAI,SAAS,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;QACpC,OAAO,8BAA8B,CAAC,QAAQ,CAAC,CAAC;IACpD,CAAC;IACD,IAAI,wBAAwB,CAAC,kBAAkB,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC,EAAE,CAAC;QAC/D,OAAO,IAAI,SAAS,CAAC,+DAA+D,CAAC,CAAC;IAC1F,CAAC;IACD,OAAO,IAAI,CAAC;AAChB,CAAC"}
|
package/engine/engine.d.ts
CHANGED
|
@@ -34,4 +34,5 @@ export type EngineDependencies = {
|
|
|
34
34
|
};
|
|
35
35
|
export declare function createEngineWithOwner(dependencies: EngineDependencies, owner: TestNodeOwner): Engine;
|
|
36
36
|
export declare function createEngine(dependencies: EngineDependencies): Engine;
|
|
37
|
+
export declare function preparePlacedFamily(engine: Engine, request: DefinedFamilyRequest, placement: 'in-process' | 'supervised-process' | 'worker-pool'): Promise<PreparedFamilyRun>;
|
|
37
38
|
//# sourceMappingURL=engine.d.ts.map
|
package/engine/engine.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.d.ts","sourceRoot":"","sources":["../../../../source/engine/engine.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,KAAK,EAAE,MAAM,iBAAiB,CAAC;AAC7C,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,iBAAiB,CAAC;AAEjD,OAAO,EAAE,KAAK,wBAAwB,EAA6B,MAAM,6BAA6B,CAAC;AACvG,OAAO,KAAK,EAAE,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AAC/D,OAAO,EAEH,KAAK,kBAAkB,EACvB,KAAK,oBAAoB,EACzB,KAAK,oBAAoB,EAEzB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACzB,MAAM,iBAAiB,CAAC;AACzB,OAAO,KAAK,EAAE,WAA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, request) {
|
|
|
22
22
|
if (prepare === undefined) {
|
|
23
23
|
throw new TypeError('The selected engine does not support imported family preparation.');
|
|
24
24
|
}
|
|
25
|
-
return prepare.prepare(request);
|
|
25
|
+
return prepare.prepare(request, 'in-process');
|
|
26
26
|
}
|
|
27
27
|
export async function executePreparedFamilyWithDriver(engine, run, options, driver) {
|
|
28
28
|
const operations = familyPreparations().get(engine.prepareFamily);
|
|
@@ -50,7 +50,7 @@ export function createEngineWithOwner(dependencies, owner) {
|
|
|
50
50
|
return plans.has(plan);
|
|
51
51
|
});
|
|
52
52
|
familyPreparations().set(familyRuns.prepareFamily, {
|
|
53
|
-
prepare: familyRuns.
|
|
53
|
+
prepare: familyRuns.preparePlacedFamily,
|
|
54
54
|
execution: familyRuns.execution
|
|
55
55
|
});
|
|
56
56
|
return {
|
|
@@ -95,4 +95,11 @@ export function createEngineWithOwner(dependencies, owner) {
|
|
|
95
95
|
export function createEngine(dependencies) {
|
|
96
96
|
return createEngineWithOwner(dependencies, createTestNodeOwner());
|
|
97
97
|
}
|
|
98
|
+
export async function preparePlacedFamily(engine, request, placement) {
|
|
99
|
+
const operations = familyPreparations().get(engine.prepareFamily);
|
|
100
|
+
if (operations === undefined) {
|
|
101
|
+
throw new TypeError('The selected engine does not support imported family preparation.');
|
|
102
|
+
}
|
|
103
|
+
return await operations.prepare(request, placement);
|
|
104
|
+
}
|
|
98
105
|
//# sourceMappingURL=engine.js.map
|
package/engine/engine.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"engine.js","sourceRoot":"","sources":["../../../../source/engine/engine.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACjE,OAAO,EAAiC,yBAAyB,EAAE,MAAM,6BAA6B,CAAC;AAEvG,OAAO,EACH,gBAAgB,EAOnB,MAAM,iBAAiB,CAAC;AAEzB,OAAO,EAAE,YAAY,EAAE,MAAM,eAAe,CAAC;AAC7C,OAAO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