@overkill-dev/run 0.0.83 → 0.0.85
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/attachments/failure-artifact-stream.js +2 -2
- package/attachments/failure-artifact-stream.js.map +1 -1
- package/attachments/run-json-artifact.js +1 -1
- package/attachments/run-json-artifact.js.map +1 -1
- package/baselines/calibration-store.js +2 -2
- package/baselines/calibration-store.js.map +1 -1
- package/baselines/performance-adapter.d.ts +2 -2
- package/baselines/performance-adapter.d.ts.map +1 -1
- package/baselines/performance-baseline.d.ts +2 -2
- package/baselines/performance-baseline.d.ts.map +1 -1
- package/baselines/performance-baseline.js +1 -1
- package/baselines/performance-baseline.js.map +1 -1
- package/baselines/performance-check.js +2 -2
- package/baselines/performance-check.js.map +1 -1
- package/baselines/performance-evaluation.js +1 -1
- package/baselines/performance-evaluation.js.map +1 -1
- package/baselines/performance-observation.js +1 -1
- package/baselines/performance-observation.js.map +1 -1
- package/baselines/performance-plan.js +3 -3
- package/baselines/performance-plan.js.map +1 -1
- package/baselines/performance-store.js +2 -2
- package/baselines/performance-store.js.map +1 -1
- package/baselines/performance-workflow.js +2 -2
- package/baselines/performance-workflow.js.map +1 -1
- package/bench/benchmark-statistics-schema.d.ts +1 -1
- package/bench/benchmark-statistics-schema.d.ts.map +1 -1
- package/bench/calibration-evidence.js +1 -1
- package/bench/calibration-evidence.js.map +1 -1
- package/bench/calibration-report.d.ts +1 -1
- package/bench/calibration-report.d.ts.map +1 -1
- package/bench/timeline-schema.js +1 -1
- package/bench/timeline-schema.js.map +1 -1
- package/config/config.js +1 -1
- package/config/config.js.map +1 -1
- package/config/execution.d.ts +1 -1
- package/config/execution.d.ts.map +1 -1
- package/config/property-policy.js +1 -1
- package/config/property-policy.js.map +1 -1
- package/config/schema.d.ts +4 -4
- package/config/schema.d.ts.map +1 -1
- package/config/schema.js +2 -2
- package/config/schema.js.map +1 -1
- package/config/types.d.ts +6 -6
- package/config/types.d.ts.map +1 -1
- package/package.json +4 -28
- package/packages/run/run.entry-point.d.ts +3 -3
- package/packages/run/run.entry-point.d.ts.map +1 -1
- package/packages/run/run.entry-point.js +1 -1
- package/packages/run/run.entry-point.js.map +1 -1
- package/reporters/human-reporter-rendering.js +2 -2
- package/reporters/human-reporter-rendering.js.map +1 -1
- package/reporters/line-failure-rendering.js +1 -1
- package/reporters/line-failure-rendering.js.map +1 -1
- package/reporters/line-reporter.js +2 -2
- package/reporters/line-reporter.js.map +1 -1
- package/reporters/progress-reporter.js +1 -1
- package/reporters/progress-reporter.js.map +1 -1
- package/reporters/tree-reporter.js +1 -1
- package/reporters/tree-reporter.js.map +1 -1
- package/resources/resource-definition-shape.d.ts +1 -1
- package/resources/resource-definition-shape.d.ts.map +1 -1
- package/resources/resource-workload-binding.js +2 -2
- package/resources/resource-workload-binding.js.map +1 -1
- package/run/attachment-eligibility.js +1 -1
- package/run/attachment-eligibility.js.map +1 -1
- package/run/attachment-execution.js +2 -2
- package/run/attachment-execution.js.map +1 -1
- package/run/attachment-failure.js +1 -1
- package/run/attachment-failure.js.map +1 -1
- package/run/attachment-protocol.js +1 -1
- package/run/attachment-protocol.js.map +1 -1
- package/run/attachment-reporter.js +2 -2
- package/run/attachment-reporter.js.map +1 -1
- package/run/attachment-results.js +3 -3
- package/run/attachment-results.js.map +1 -1
- package/run/attachment-retention.js +1 -1
- package/run/attachment-retention.js.map +1 -1
- package/run/attachment-store.js +1 -1
- package/run/attachment-store.js.map +1 -1
- package/run/benchmark-baseline-commands.js +1 -1
- package/run/benchmark-baseline-commands.js.map +1 -1
- package/run/benchmark-baseline-finalization.js +1 -1
- package/run/benchmark-baseline-finalization.js.map +1 -1
- package/run/benchmark-garbage-collection.js +1 -1
- package/run/benchmark-garbage-collection.js.map +1 -1
- package/run/benchmark-policy-schema.js +1 -1
- package/run/benchmark-policy-schema.js.map +1 -1
- package/run/benchmark-report-metadata.js +1 -1
- package/run/benchmark-report-metadata.js.map +1 -1
- package/run/benchmark-result-schema.js +1 -1
- package/run/benchmark-result-schema.js.map +1 -1
- package/run/calibration-capture-session.js +2 -2
- package/run/calibration-capture-session.js.map +1 -1
- package/run/calibration-inventory.js +2 -2
- package/run/calibration-inventory.js.map +1 -1
- package/run/calibration-maintenance.js +1 -1
- package/run/calibration-maintenance.js.map +1 -1
- package/run/capability-policy-snapshots.d.ts +1 -1
- package/run/capability-policy-snapshots.d.ts.map +1 -1
- package/run/capability-policy.js +3 -3
- package/run/capability-policy.js.map +1 -1
- package/run/collected-run-execution.js +1 -1
- package/run/collected-run-execution.js.map +1 -1
- package/run/collected-run-plan-schema.js +2 -2
- package/run/collected-run-plan-schema.js.map +1 -1
- package/run/collected-run-plan.js +4 -4
- package/run/collected-run-plan.js.map +1 -1
- package/run/command-line-command.d.ts +1 -1
- package/run/command-line-command.d.ts.map +1 -1
- package/run/command-line-command.js +1 -1
- package/run/command-line-command.js.map +1 -1
- package/run/command-line-config.d.ts +1 -1
- package/run/command-line-config.d.ts.map +1 -1
- package/run/default-direct-reporter.js +1 -1
- package/run/default-direct-reporter.js.map +1 -1
- package/run/default-run-engine.js +7 -7
- package/run/default-run-engine.js.map +1 -1
- package/run/direct-entrypoint-collection.js +3 -3
- package/run/direct-entrypoint-collection.js.map +1 -1
- package/run/execution-plan-resolution.js +1 -1
- package/run/execution-plan-resolution.js.map +1 -1
- package/run/execution-session-child.js +1 -1
- package/run/execution-session-child.js.map +1 -1
- package/run/execution-session-collected.js +1 -1
- package/run/execution-session-collected.js.map +1 -1
- package/run/execution-session-host.js +1 -1
- package/run/execution-session-host.js.map +1 -1
- package/run/execution-session-lifecycle.js +2 -2
- package/run/execution-session-lifecycle.js.map +1 -1
- package/run/execution-session-observation.js +1 -1
- package/run/execution-session-observation.js.map +1 -1
- package/run/execution-session-schema.js +1 -1
- package/run/execution-session-schema.js.map +1 -1
- package/run/execution-session-types.d.ts +1 -1
- package/run/execution-session-types.d.ts.map +1 -1
- package/run/execution-session.js +1 -1
- package/run/execution-session.js.map +1 -1
- package/run/failure-artifact-retention.js +2 -2
- package/run/failure-artifact-retention.js.map +1 -1
- package/run/file-module-boundary.d.ts.map +1 -1
- package/run/file-module-boundary.js +36 -3
- package/run/file-module-boundary.js.map +1 -1
- package/run/frozen-run-policy.js +1 -1
- package/run/frozen-run-policy.js.map +1 -1
- package/run/initialized-run-collection.js +1 -1
- package/run/initialized-run-collection.js.map +1 -1
- package/run/node-command-line-runner.d.ts +1 -1
- package/run/node-command-line-runner.d.ts.map +1 -1
- package/run/node-process-policy-observation.js +1 -1
- package/run/node-process-policy-observation.js.map +1 -1
- package/run/node-run-execution.js +1 -1
- package/run/node-run-execution.js.map +1 -1
- package/run/node-run-orchestrator-dependencies.js +1 -1
- package/run/node-run-orchestrator-dependencies.js.map +1 -1
- package/run/permission-denial-runtime-policy.js +3 -3
- package/run/permission-denial-runtime-policy.js.map +1 -1
- package/run/placement-trace.d.ts +2 -2
- package/run/placement-trace.d.ts.map +1 -1
- package/run/property-collection.js +1 -1
- package/run/property-collection.js.map +1 -1
- package/run/recorded-coverage-session.js +1 -1
- package/run/recorded-coverage-session.js.map +1 -1
- package/run/reporter-event-schema.js +1 -1
- package/run/reporter-event-schema.js.map +1 -1
- package/run/resource-lifecycle-boundaries.js +1 -1
- package/run/resource-lifecycle-boundaries.js.map +1 -1
- package/run/resource-lifecycle-cache-identity.js +2 -2
- package/run/resource-lifecycle-cache-identity.js.map +1 -1
- package/run/resource-lifecycle-composition.d.ts +1 -1
- package/run/resource-lifecycle-composition.d.ts.map +1 -1
- package/run/resource-lifecycle-error.d.ts +1 -1
- package/run/resource-lifecycle-error.d.ts.map +1 -1
- package/run/resource-lifecycle-error.js +1 -1
- package/run/resource-lifecycle-error.js.map +1 -1
- package/run/resource-lifecycle-session-acquirer.js +1 -1
- package/run/resource-lifecycle-session-acquirer.js.map +1 -1
- package/run/resource-lifecycle-state.d.ts +3 -3
- package/run/resource-lifecycle-state.d.ts.map +1 -1
- package/run/resource-lifecycle-state.js +2 -2
- package/run/resource-lifecycle-state.js.map +1 -1
- package/run/resource-ownership-plan.d.ts +2 -2
- package/run/resource-ownership-plan.d.ts.map +1 -1
- package/run/retry-artifact-retention.js +1 -1
- package/run/retry-artifact-retention.js.map +1 -1
- package/run/run-artifact-schema.d.ts +1 -1
- package/run/run-artifact-schema.d.ts.map +1 -1
- package/run/run-case-facts.js +1 -1
- package/run/run-case-facts.js.map +1 -1
- package/run/run-collection-error-result.js +2 -2
- package/run/run-collection-error-result.js.map +1 -1
- package/run/run-discovery-types.d.ts +1 -1
- package/run/run-discovery-types.d.ts.map +1 -1
- package/run/run-engine-primitives.d.ts +8 -8
- package/run/run-engine-primitives.d.ts.map +1 -1
- package/run/run-engine-selection.d.ts +1 -1
- package/run/run-engine-selection.d.ts.map +1 -1
- package/run/run-errors.d.ts +2 -2
- package/run/run-errors.d.ts.map +1 -1
- package/run/run-errors.js +1 -1
- package/run/run-errors.js.map +1 -1
- package/run/run-if-main-options.d.ts +3 -3
- package/run/run-if-main-options.d.ts.map +1 -1
- package/run/run-if-main.d.ts +1 -1
- package/run/run-if-main.d.ts.map +1 -1
- package/run/run-list-renderer.js +2 -2
- package/run/run-list-renderer.js.map +1 -1
- package/run/run-local-sharding.js +1 -1
- package/run/run-local-sharding.js.map +1 -1
- package/run/run-local-test-plan.js +21 -17
- package/run/run-local-test-plan.js.map +1 -1
- package/run/run-record-outcomes.d.ts +5 -5
- package/run/run-record-outcomes.d.ts.map +1 -1
- package/run/run-record-result.d.ts +1 -1
- package/run/run-record-result.d.ts.map +1 -1
- package/run/run-record-result.js +2 -2
- package/run/run-record-result.js.map +1 -1
- package/run/run-record-storage.js +1 -1
- package/run/run-record-storage.js.map +1 -1
- package/run/run-record-types.d.ts +3 -3
- package/run/run-record-types.d.ts.map +1 -1
- package/run/run-request-types.d.ts +3 -3
- package/run/run-request-types.d.ts.map +1 -1
- package/run/run-result-reporting.js +1 -1
- package/run/run-result-reporting.js.map +1 -1
- package/run/run-result-schema.d.ts +1 -1
- package/run/run-result-schema.d.ts.map +1 -1
- package/run/run-runtime-schema.js +1 -1
- package/run/run-runtime-schema.js.map +1 -1
- package/run/run-selection-filters.d.ts +2 -2
- package/run/run-selection-filters.d.ts.map +1 -1
- package/run/run-selection-filters.js +1 -1
- package/run/run-selection-filters.js.map +1 -1
- package/run/run-selection.js +2 -2
- package/run/run-selection.js.map +1 -1
- package/run/run-sharding.js +1 -1
- package/run/run-sharding.js.map +1 -1
- package/run/run-test-modules.d.ts +3 -3
- package/run/run-test-modules.d.ts.map +1 -1
- package/run/run-timing-collection.d.ts +2 -2
- package/run/run-timing-collection.d.ts.map +1 -1
- package/run/run-timing-collection.js +1 -1
- package/run/run-timing-collection.js.map +1 -1
- package/run/run-types.d.ts +1 -1
- package/run/run-types.d.ts.map +1 -1
- package/run/run-validation.js +1 -1
- package/run/run-validation.js.map +1 -1
- package/run/simulation-witness.js +1 -1
- package/run/simulation-witness.js.map +1 -1
- package/run/supervised-child-execution.js +3 -3
- package/run/supervised-child-execution.js.map +1 -1
- package/run/supervised-child-test-plan.js +1 -1
- package/run/supervised-child-test-plan.js.map +1 -1
- package/run/supervised-child.js +1 -1
- package/run/supervised-child.js.map +1 -1
- package/run/supervised-output-capture.js +1 -1
- package/run/supervised-output-capture.js.map +1 -1
- package/run/supervised-protocol.js +1 -1
- package/run/supervised-protocol.js.map +1 -1
- package/run/supervised-run-process-policy.js +2 -2
- package/run/supervised-run-process-policy.js.map +1 -1
- package/run/supervised-run-runtime.js +1 -1
- package/run/supervised-run-runtime.js.map +1 -1
- package/run/supervised-run-state.js +3 -3
- package/run/supervised-run-state.js.map +1 -1
- package/run/work-unit-identity.js +1 -1
- package/run/work-unit-identity.js.map +1 -1
- package/run/work-unit-planning.js +1 -1
- package/run/work-unit-planning.js.map +1 -1
- package/run/work-unit-resource-constraints.js +2 -2
- package/run/work-unit-resource-constraints.js.map +1 -1
- package/run/worker-execution-engine.js +2 -2
- package/run/worker-execution-engine.js.map +1 -1
- package/run/worker-pool-hedge-dispatch.js +1 -1
- package/run/worker-pool-hedge-dispatch.js.map +1 -1
- package/run/worker-pool-hedged-arbitration.js +1 -1
- package/run/worker-pool-hedged-arbitration.js.map +1 -1
- package/run/worker-pool-host.entry-point.js +1 -1
- package/run/worker-pool-host.entry-point.js.map +1 -1
- package/run/worker-pool-output.js +1 -1
- package/run/worker-pool-output.js.map +1 -1
- package/run/worker-pool-pending-splitting.js +1 -1
- package/run/worker-pool-pending-splitting.js.map +1 -1
- package/run/worker-pool-placement-planning.js +1 -1
- package/run/worker-pool-placement-planning.js.map +1 -1
- package/run/worker-pool-resource-lifecycle-execution.js +1 -1
- package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
- package/run/worker-pool-results.js +1 -1
- package/run/worker-pool-results.js.map +1 -1
- package/run/worker-pool-task-events.js +2 -2
- package/run/worker-pool-task-events.js.map +1 -1
- package/run/worker-pool-warm-lane-affinity.js +1 -1
- package/run/worker-pool-warm-lane-affinity.js.map +1 -1
- package/run/worker-pool-work-load.js +1 -1
- package/run/worker-pool-work-load.js.map +1 -1
- package/run/worker-pool-worker-plan.js +2 -2
- package/run/worker-pool-worker-plan.js.map +1 -1
- package/run/worker-pool-worker-resources.js +1 -1
- package/run/worker-pool-worker-resources.js.map +1 -1
- package/run/worker-pool-worker.js +1 -1
- package/run/worker-pool-worker.js.map +1 -1
- package/run/workload-input-validation.js +1 -1
- package/run/workload-input-validation.js.map +1 -1
- package/software-bill-of-materials.cyclonedx.json +21 -38
- package/transcript/http-transcript-artifact.js +1 -1
- package/transcript/http-transcript-artifact.js.map +1 -1
- package/assertion-protocol/assertion-evaluation.js +0 -6
- package/assertion-protocol/assertion-evaluation.js.map +0 -1
- package/assertion-protocol/assertion-node-shape.d.ts +0 -81
- package/assertion-protocol/assertion-node-shape.d.ts.map +0 -1
- package/assertion-protocol/assertion-node.d.ts +0 -82
- package/assertion-protocol/assertion-node.d.ts.map +0 -1
- package/assertion-protocol/assertion-node.js +0 -33
- package/assertion-protocol/assertion-node.js.map +0 -1
- package/assertion-protocol/assertion-reference.d.ts +0 -50
- package/assertion-protocol/assertion-reference.d.ts.map +0 -1
- package/assertion-protocol/assertion-reference.js +0 -22
- package/assertion-protocol/assertion-reference.js.map +0 -1
- package/assertion-protocol/assertions/boolean.d.ts +0 -4
- package/assertion-protocol/assertions/boolean.d.ts.map +0 -1
- package/assertion-protocol/assertions/boolean.js +0 -12
- package/assertion-protocol/assertions/boolean.js.map +0 -1
- package/assertion-protocol/assertions/collection.d.ts +0 -13
- package/assertion-protocol/assertions/collection.d.ts.map +0 -1
- package/assertion-protocol/assertions/collection.js +0 -21
- package/assertion-protocol/assertions/collection.js.map +0 -1
- package/assertion-protocol/assertions/dispatch.js +0 -47
- package/assertion-protocol/assertions/dispatch.js.map +0 -1
- package/assertion-protocol/assertions/equality.d.ts +0 -6
- package/assertion-protocol/assertions/equality.d.ts.map +0 -1
- package/assertion-protocol/assertions/equality.js +0 -24
- package/assertion-protocol/assertions/equality.js.map +0 -1
- package/assertion-protocol/assertions/fail.d.ts +0 -8
- package/assertion-protocol/assertions/fail.d.ts.map +0 -1
- package/assertion-protocol/assertions/fail.js +0 -8
- package/assertion-protocol/assertions/fail.js.map +0 -1
- package/assertion-protocol/assertions/numeric.d.ts +0 -16
- package/assertion-protocol/assertions/numeric.d.ts.map +0 -1
- package/assertion-protocol/assertions/numeric.js +0 -43
- package/assertion-protocol/assertions/numeric.js.map +0 -1
- package/assertion-protocol/assertions/partial.d.ts +0 -5
- package/assertion-protocol/assertions/partial.d.ts.map +0 -1
- package/assertion-protocol/assertions/partial.js +0 -17
- package/assertion-protocol/assertions/partial.js.map +0 -1
- package/assertion-protocol/assertions/presence.d.ts +0 -6
- package/assertion-protocol/assertions/presence.d.ts.map +0 -1
- package/assertion-protocol/assertions/presence.js +0 -20
- package/assertion-protocol/assertions/presence.js.map +0 -1
- package/assertion-protocol/assertions/string.d.ts +0 -15
- package/assertion-protocol/assertions/string.d.ts.map +0 -1
- package/assertion-protocol/assertions/string.js +0 -33
- package/assertion-protocol/assertions/string.js.map +0 -1
- package/assertion-protocol/assertions/type-shape.d.ts +0 -23
- package/assertion-protocol/assertions/type-shape.d.ts.map +0 -1
- package/assertion-protocol/assertions/type-shape.js +0 -43
- package/assertion-protocol/assertions/type-shape.js.map +0 -1
- package/assertion-protocol/collection-count.js +0 -42
- package/assertion-protocol/collection-count.js.map +0 -1
- package/assertion-protocol/evaluation.js +0 -175
- package/assertion-protocol/evaluation.js.map +0 -1
- package/assertion-protocol/partial-matching.js +0 -13
- package/assertion-protocol/partial-matching.js.map +0 -1
- package/assertion-protocol/source-location-forwarding.js +0 -32
- package/assertion-protocol/source-location-forwarding.js.map +0 -1
- package/assertion-protocol/source-location.js +0 -119
- package/assertion-protocol/source-location.js.map +0 -1
- package/assertion-protocol/thrown-error-record.d.ts +0 -7
- package/assertion-protocol/thrown-error-record.d.ts.map +0 -1
- package/assertion-protocol/thrown-error-record.js +0 -17
- package/assertion-protocol/thrown-error-record.js.map +0 -1
- package/assertion-protocol/thrown-matcher.d.ts +0 -34
- package/assertion-protocol/thrown-matcher.d.ts.map +0 -1
- package/assertion-protocol/thrown-matcher.js +0 -201
- package/assertion-protocol/thrown-matcher.js.map +0 -1
- package/attachments/json-snapshot.js +0 -125
- package/attachments/json-snapshot.js.map +0 -1
- package/canonical-identity.js +0 -54
- package/canonical-identity.js.map +0 -1
- package/compare/comparison-result.js +0 -47
- package/compare/comparison-result.js.map +0 -1
- package/compare/comparison-state.js +0 -20
- package/compare/comparison-state.js.map +0 -1
- package/compare/comparison.js +0 -78
- package/compare/comparison.js.map +0 -1
- package/compare/diff-path.js +0 -37
- package/compare/diff-path.js.map +0 -1
- package/compare/raw-comparison.js +0 -285
- package/compare/raw-comparison.js.map +0 -1
- package/compare/serialized-value-classification.js +0 -99
- package/compare/serialized-value-classification.js.map +0 -1
- package/compare/serialized-value-shape.d.ts +0 -134
- package/compare/serialized-value-shape.d.ts.map +0 -1
- package/compare/serialized-value-shape.js +0 -12
- package/compare/serialized-value-shape.js.map +0 -1
- package/compare/serialized-value-state.js +0 -55
- package/compare/serialized-value-state.js.map +0 -1
- package/compare/serialized-value.d.ts +0 -4
- package/compare/serialized-value.d.ts.map +0 -1
- package/compare/serialized-value.js +0 -389
- package/compare/serialized-value.js.map +0 -1
- package/compare/structured-diff.js +0 -382
- package/compare/structured-diff.js.map +0 -1
- package/compare/value-classification.js +0 -112
- package/compare/value-classification.js.map +0 -1
- package/diff/binary-diff.js +0 -49
- package/diff/binary-diff.js.map +0 -1
- package/diff/diff-shape.d.ts +0 -122
- package/diff/diff-shape.d.ts.map +0 -1
- package/diff/string-diff.js +0 -22
- package/diff/string-diff.js.map +0 -1
- package/engine/assertion-facade.d.ts +0 -47
- package/engine/assertion-facade.d.ts.map +0 -1
- package/engine/assertion-facade.js +0 -362
- package/engine/assertion-facade.js.map +0 -1
- package/engine/assertion-recorder.d.ts +0 -12
- package/engine/assertion-recorder.d.ts.map +0 -1
- package/engine/assertion-recorder.js +0 -251
- package/engine/assertion-recorder.js.map +0 -1
- package/engine/async-control.d.ts +0 -7
- package/engine/async-control.d.ts.map +0 -1
- package/engine/async-control.js +0 -162
- package/engine/async-control.js.map +0 -1
- package/engine/async-leak-diagnostics.js +0 -188
- package/engine/async-leak-diagnostics.js.map +0 -1
- package/engine/benchmark-environment.d.ts +0 -8
- package/engine/benchmark-environment.d.ts.map +0 -1
- package/engine/benchmark-garbage-collection.d.ts +0 -8
- package/engine/benchmark-garbage-collection.d.ts.map +0 -1
- package/engine/benchmark-garbage-collection.js +0 -4
- package/engine/benchmark-garbage-collection.js.map +0 -1
- package/engine/benchmark-limits.js +0 -3
- package/engine/benchmark-limits.js.map +0 -1
- package/engine/benchmark-node.d.ts +0 -37
- package/engine/benchmark-node.d.ts.map +0 -1
- package/engine/benchmark-node.js +0 -9
- package/engine/benchmark-node.js.map +0 -1
- package/engine/benchmark-result.d.ts +0 -247
- package/engine/benchmark-result.d.ts.map +0 -1
- package/engine/benchmark-result.js +0 -2
- package/engine/benchmark-result.js.map +0 -1
- package/engine/benchmark-timeline.d.ts +0 -12
- package/engine/benchmark-timeline.d.ts.map +0 -1
- package/engine/case-attempt-execution.js +0 -234
- package/engine/case-attempt-execution.js.map +0 -1
- package/engine/case-body-execution.js +0 -232
- package/engine/case-body-execution.js.map +0 -1
- package/engine/case-execution-lifecycle.js +0 -22
- package/engine/case-execution-lifecycle.js.map +0 -1
- package/engine/case-execution.d.ts +0 -14
- package/engine/case-execution.d.ts.map +0 -1
- package/engine/case-execution.js +0 -225
- package/engine/case-execution.js.map +0 -1
- package/engine/case-interruption.js +0 -26
- package/engine/case-interruption.js.map +0 -1
- package/engine/coverage-artifact.d.ts +0 -36
- package/engine/coverage-artifact.d.ts.map +0 -1
- package/engine/custom-assertion-recording.js +0 -175
- package/engine/custom-assertion-recording.js.map +0 -1
- package/engine/engine.d.ts +0 -21
- package/engine/engine.d.ts.map +0 -1
- package/engine/engine.js +0 -35
- package/engine/engine.js.map +0 -1
- package/engine/execution-async-leak-policy.d.ts +0 -3
- package/engine/execution-async-leak-policy.d.ts.map +0 -1
- package/engine/execution-async-leak-policy.js +0 -95
- package/engine/execution-async-leak-policy.js.map +0 -1
- package/engine/execution-error-ownership.d.ts +0 -6
- package/engine/execution-error-ownership.d.ts.map +0 -1
- package/engine/execution-error-ownership.js +0 -83
- package/engine/execution-error-ownership.js.map +0 -1
- package/engine/execution-global-error-observer.d.ts +0 -15
- package/engine/execution-global-error-observer.d.ts.map +0 -1
- package/engine/execution-global-error-observer.js +0 -276
- package/engine/execution-global-error-observer.js.map +0 -1
- package/engine/execution-observation.js +0 -212
- package/engine/execution-observation.js.map +0 -1
- package/engine/execution-options.d.ts +0 -39
- package/engine/execution-options.d.ts.map +0 -1
- package/engine/execution-options.js +0 -42
- package/engine/execution-options.js.map +0 -1
- package/engine/execution-preparation.d.ts +0 -13
- package/engine/execution-preparation.d.ts.map +0 -1
- package/engine/execution-preparation.js +0 -34
- package/engine/execution-preparation.js.map +0 -1
- package/engine/execution-process-budget-breach.d.ts +0 -8
- package/engine/execution-process-budget-breach.d.ts.map +0 -1
- package/engine/execution-process-budget-breach.js +0 -30
- package/engine/execution-process-budget-breach.js.map +0 -1
- package/engine/execution-process-budget-tracking.js +0 -33
- package/engine/execution-process-budget-tracking.js.map +0 -1
- package/engine/execution-process-tracked-cases.js +0 -40
- package/engine/execution-process-tracked-cases.js.map +0 -1
- package/engine/execution-result.js +0 -120
- package/engine/execution-result.js.map +0 -1
- package/engine/execution-supervision-state.js +0 -54
- package/engine/execution-supervision-state.js.map +0 -1
- package/engine/execution-supervision.d.ts +0 -16
- package/engine/execution-supervision.d.ts.map +0 -1
- package/engine/execution-supervision.js +0 -345
- package/engine/execution-supervision.js.map +0 -1
- package/engine/execution-test-plan-cases.js +0 -216
- package/engine/execution-test-plan-cases.js.map +0 -1
- package/engine/execution-test-plan-process-usage.js +0 -14
- package/engine/execution-test-plan-process-usage.js.map +0 -1
- package/engine/execution.d.ts +0 -8
- package/engine/execution.d.ts.map +0 -1
- package/engine/execution.js +0 -71
- package/engine/execution.js.map +0 -1
- package/engine/identity.d.ts +0 -31
- package/engine/identity.d.ts.map +0 -1
- package/engine/identity.js +0 -68
- package/engine/identity.js.map +0 -1
- package/engine/native-resource-observation.js +0 -70
- package/engine/native-resource-observation.js.map +0 -1
- package/engine/node-assertion-error.js +0 -47
- package/engine/node-assertion-error.js.map +0 -1
- package/engine/process-usage-growth.js +0 -12
- package/engine/process-usage-growth.js.map +0 -1
- package/engine/process-usage.d.ts +0 -22
- package/engine/process-usage.d.ts.map +0 -1
- package/engine/property-node.d.ts +0 -30
- package/engine/property-node.d.ts.map +0 -1
- package/engine/property-node.js +0 -9
- package/engine/property-node.js.map +0 -1
- package/engine/recorded-assertion-failure.js +0 -30
- package/engine/recorded-assertion-failure.js.map +0 -1
- package/engine/reporter-dispatcher.d.ts +0 -17
- package/engine/reporter-dispatcher.d.ts.map +0 -1
- package/engine/reporter-dispatcher.js +0 -316
- package/engine/reporter-dispatcher.js.map +0 -1
- package/engine/reporter-disposal.js +0 -13
- package/engine/reporter-disposal.js.map +0 -1
- package/engine/reporter-error-delivery-tracking.js +0 -33
- package/engine/reporter-error-delivery-tracking.js.map +0 -1
- package/engine/reporter-event-queue.js +0 -55
- package/engine/reporter-event-queue.js.map +0 -1
- package/engine/reporter-managed-output.js +0 -105
- package/engine/reporter-managed-output.js.map +0 -1
- package/engine/reporter-output-scope.js +0 -65
- package/engine/reporter-output-scope.js.map +0 -1
- package/engine/reporter-output.d.ts +0 -28
- package/engine/reporter-output.d.ts.map +0 -1
- package/engine/reporter-output.js +0 -17
- package/engine/reporter-output.js.map +0 -1
- package/engine/reporter.d.ts +0 -197
- package/engine/reporter.d.ts.map +0 -1
- package/engine/reporter.js +0 -111
- package/engine/reporter.js.map +0 -1
- package/engine/reporting-context.d.ts +0 -6
- package/engine/reporting-context.d.ts.map +0 -1
- package/engine/reporting-context.js +0 -74
- package/engine/reporting-context.js.map +0 -1
- package/engine/require-assertion-facade.d.ts +0 -18
- package/engine/require-assertion-facade.d.ts.map +0 -1
- package/engine/require-assertion-facade.js +0 -128
- package/engine/require-assertion-facade.js.map +0 -1
- package/engine/resource-owner-observation.js +0 -143
- package/engine/resource-owner-observation.js.map +0 -1
- package/engine/retry-policy.d.ts +0 -4
- package/engine/retry-policy.d.ts.map +0 -1
- package/engine/retry-policy.js +0 -22
- package/engine/retry-policy.js.map +0 -1
- package/engine/run-artifact.d.ts +0 -45
- package/engine/run-artifact.d.ts.map +0 -1
- package/engine/run-result.d.ts +0 -215
- package/engine/run-result.d.ts.map +0 -1
- package/engine/run-result.js +0 -202
- package/engine/run-result.js.map +0 -1
- package/engine/run-timings.d.ts +0 -57
- package/engine/run-timings.d.ts.map +0 -1
- package/engine/run-timings.js +0 -120
- package/engine/run-timings.js.map +0 -1
- package/engine/runner-error-reporting.js +0 -29
- package/engine/runner-error-reporting.js.map +0 -1
- package/engine/runtime-attachment.d.ts +0 -82
- package/engine/runtime-attachment.d.ts.map +0 -1
- package/engine/test-attempt-history.js +0 -25
- package/engine/test-attempt-history.js.map +0 -1
- package/engine/test-body-resource-attachment.d.ts +0 -53
- package/engine/test-body-resource-attachment.d.ts.map +0 -1
- package/engine/test-body-resource-attachment.js +0 -30
- package/engine/test-body-resource-attachment.js.map +0 -1
- package/engine/test-body.d.ts +0 -16
- package/engine/test-body.d.ts.map +0 -1
- package/engine/test-body.js +0 -51
- package/engine/test-body.js.map +0 -1
- package/engine/test-data.d.ts +0 -25
- package/engine/test-data.d.ts.map +0 -1
- package/engine/test-data.js +0 -126
- package/engine/test-data.js.map +0 -1
- package/engine/test-node.d.ts +0 -178
- package/engine/test-node.d.ts.map +0 -1
- package/engine/test-node.js +0 -226
- package/engine/test-node.js.map +0 -1
- package/engine/test-plan.d.ts +0 -52
- package/engine/test-plan.d.ts.map +0 -1
- package/engine/test-plan.js +0 -315
- package/engine/test-plan.js.map +0 -1
- package/engine/test-scope-lifecycle.js +0 -65
- package/engine/test-scope-lifecycle.js.map +0 -1
- package/engine/throwing-test-scope.js +0 -27
- package/engine/throwing-test-scope.js.map +0 -1
- package/engine/workload-input.d.ts +0 -3
- package/engine/workload-input.d.ts.map +0 -1
- package/engine/workload-input.js +0 -54
- package/engine/workload-input.js.map +0 -1
- package/engine/workload-parameters.d.ts +0 -3
- package/engine/workload-parameters.d.ts.map +0 -1
- package/engine/workload-parameters.js +0 -67
- package/engine/workload-parameters.js.map +0 -1
- package/engine/workload-test-case.d.ts +0 -8
- package/engine/workload-test-case.d.ts.map +0 -1
- package/engine/workload-test-case.js +0 -33
- package/engine/workload-test-case.js.map +0 -1
- package/stored-value.js +0 -12
- package/stored-value.js.map +0 -1
package/diff/diff-shape.d.ts
DELETED
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import type { SerializedPropertyKey, SerializedValue } from '../compare/serialized-value.ts';
|
|
2
|
-
type BytePathSegment = {
|
|
3
|
-
readonly kind: 'byte';
|
|
4
|
-
readonly offset: number;
|
|
5
|
-
};
|
|
6
|
-
type IndexPathSegment = {
|
|
7
|
-
readonly index: number;
|
|
8
|
-
readonly kind: 'index';
|
|
9
|
-
};
|
|
10
|
-
type MapKeyPathSegment = {
|
|
11
|
-
readonly key: SerializedValue;
|
|
12
|
-
readonly kind: 'map-key';
|
|
13
|
-
};
|
|
14
|
-
type MapValuePathSegment = {
|
|
15
|
-
readonly key: SerializedValue;
|
|
16
|
-
readonly kind: 'map-value';
|
|
17
|
-
};
|
|
18
|
-
type PropertyPathSegment = {
|
|
19
|
-
readonly key: SerializedPropertyKey;
|
|
20
|
-
readonly kind: 'property';
|
|
21
|
-
};
|
|
22
|
-
type SetValuePathSegment = {
|
|
23
|
-
readonly kind: 'set-value';
|
|
24
|
-
readonly value: SerializedValue;
|
|
25
|
-
};
|
|
26
|
-
type IndexedPathSegment = BytePathSegment | IndexPathSegment;
|
|
27
|
-
type MapPathSegment = MapKeyPathSegment | MapValuePathSegment;
|
|
28
|
-
type KeyedPathSegment = MapPathSegment | PropertyPathSegment | SetValuePathSegment;
|
|
29
|
-
export type DiffPathSegment = IndexedPathSegment | KeyedPathSegment;
|
|
30
|
-
type ReplaceOperation = {
|
|
31
|
-
readonly from: SerializedValue;
|
|
32
|
-
readonly operation: 'replace';
|
|
33
|
-
readonly path: readonly DiffPathSegment[];
|
|
34
|
-
readonly to: SerializedValue;
|
|
35
|
-
};
|
|
36
|
-
type AddOperation = {
|
|
37
|
-
readonly operation: 'add';
|
|
38
|
-
readonly path: readonly DiffPathSegment[];
|
|
39
|
-
readonly value: SerializedValue;
|
|
40
|
-
};
|
|
41
|
-
type RemoveOperation = {
|
|
42
|
-
readonly operation: 'remove';
|
|
43
|
-
readonly path: readonly DiffPathSegment[];
|
|
44
|
-
readonly value: SerializedValue;
|
|
45
|
-
};
|
|
46
|
-
type MissingPropertyOperation = {
|
|
47
|
-
readonly operation: 'missing-property';
|
|
48
|
-
readonly path: readonly DiffPathSegment[];
|
|
49
|
-
readonly value: SerializedValue;
|
|
50
|
-
};
|
|
51
|
-
type MissingIndexOperation = {
|
|
52
|
-
readonly index: number;
|
|
53
|
-
readonly operation: 'missing-index';
|
|
54
|
-
readonly value: SerializedValue;
|
|
55
|
-
};
|
|
56
|
-
type MissingArrayMemberOperation = {
|
|
57
|
-
readonly operation: 'missing-member';
|
|
58
|
-
readonly value: SerializedValue;
|
|
59
|
-
};
|
|
60
|
-
type MissingEntryOperation = {
|
|
61
|
-
readonly key: SerializedValue;
|
|
62
|
-
readonly operation: 'missing-entry';
|
|
63
|
-
readonly value: SerializedValue;
|
|
64
|
-
};
|
|
65
|
-
type MissingMemberOperation = {
|
|
66
|
-
readonly operation: 'missing-member';
|
|
67
|
-
readonly value: SerializedValue;
|
|
68
|
-
};
|
|
69
|
-
type ArrayPresenceOperation = MissingArrayMemberOperation | MissingIndexOperation;
|
|
70
|
-
export type ArrayDiffOperation = AddOperation | ArrayPresenceOperation | RemoveOperation | ReplaceOperation;
|
|
71
|
-
export type MapDiffOperation = AddOperation | MissingEntryOperation | RemoveOperation | ReplaceOperation;
|
|
72
|
-
export type ObjectDiffOperation = AddOperation | MissingPropertyOperation | RemoveOperation | ReplaceOperation;
|
|
73
|
-
export type SetDiffOperation = AddOperation | MissingMemberOperation | RemoveOperation;
|
|
74
|
-
export type ByteDiffRange = {
|
|
75
|
-
readonly actual: readonly number[];
|
|
76
|
-
readonly expected: readonly number[];
|
|
77
|
-
readonly offset: number;
|
|
78
|
-
};
|
|
79
|
-
export type Hunk = {
|
|
80
|
-
readonly actualStart: number;
|
|
81
|
-
readonly added: readonly string[];
|
|
82
|
-
readonly expectedStart: number;
|
|
83
|
-
readonly removed: readonly string[];
|
|
84
|
-
};
|
|
85
|
-
type ArrayDiff = {
|
|
86
|
-
readonly kind: 'array';
|
|
87
|
-
readonly operations: readonly ArrayDiffOperation[];
|
|
88
|
-
};
|
|
89
|
-
type BinaryDiff = {
|
|
90
|
-
readonly actualHash: string;
|
|
91
|
-
readonly actualSize: number;
|
|
92
|
-
readonly expectedHash: string;
|
|
93
|
-
readonly expectedSize: number;
|
|
94
|
-
readonly kind: 'binary';
|
|
95
|
-
readonly ranges: readonly ByteDiffRange[];
|
|
96
|
-
};
|
|
97
|
-
type MapDiff = {
|
|
98
|
-
readonly kind: 'map';
|
|
99
|
-
readonly operations: readonly MapDiffOperation[];
|
|
100
|
-
};
|
|
101
|
-
type ObjectDiff = {
|
|
102
|
-
readonly kind: 'object';
|
|
103
|
-
readonly operations: readonly ObjectDiffOperation[];
|
|
104
|
-
};
|
|
105
|
-
type SetDiff = {
|
|
106
|
-
readonly kind: 'set';
|
|
107
|
-
readonly operations: readonly SetDiffOperation[];
|
|
108
|
-
};
|
|
109
|
-
type StringDiff = {
|
|
110
|
-
readonly actual: string;
|
|
111
|
-
readonly expected: string;
|
|
112
|
-
readonly hunks: readonly Hunk[];
|
|
113
|
-
readonly kind: 'string';
|
|
114
|
-
};
|
|
115
|
-
type ValueDiff = {
|
|
116
|
-
readonly actual: SerializedValue;
|
|
117
|
-
readonly expected: SerializedValue;
|
|
118
|
-
readonly kind: 'value';
|
|
119
|
-
};
|
|
120
|
-
export type Diff = ArrayDiff | BinaryDiff | MapDiff | ObjectDiff | SetDiff | StringDiff | ValueDiff;
|
|
121
|
-
export {};
|
|
122
|
-
//# sourceMappingURL=diff-shape.d.ts.map
|
package/diff/diff-shape.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"diff-shape.d.ts","sourceRoot":"","sources":["../../../../source/diff/diff-shape.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,eAAe,EAAE,MAAM,gCAAgC,CAAC;AAE7F,KAAK,eAAe,GAAG;IACnB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;CAC3B,CAAC;AAEF,KAAK,gBAAgB,GAAG;IACpB,QAAQ,CAAC,KAAK,EAA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AE,SAAS,mBAAmB,EAAE,CAAC;CACvD,CAAC;AAEF,KAAK,OAAO,GAAG;IACX,QAAQ,CAAC,IAAI,EAAE,KAAK,CAAC;IACrB,QAAQ,CAAC,UAAU,EAAE,SAAS,gBAAgB,EAAE,CAAC;CACpD,CAAC;AAEF,KAAK,UAAU,GAAG;IACd,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,KAAK,EAAE,SAAS,IAAI,EAAE,CAAC;IAChC,QAAQ,CAAC,IAAI,EAAE,QAAQ,CAAC;CAC3B,CAAC;AAEF,KAAK,SAAS,GAAG;IACb,QAAQ,CAAC,MAAM,EAAE,eAAe,CAAC;IACjC,QAAQ,CAAC,QAAQ,EAAE,eAAe,CAAC;IACnC,QAAQ,CAAC,IAAI,EAAE,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,IAAI,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC"}
|
package/diff/string-diff.js
DELETED
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import { structuredPatch } from 'diff';
|
|
2
|
-
function addedLines(lines) {
|
|
3
|
-
return lines.flatMap(function added(line) {
|
|
4
|
-
return line.startsWith('+') && !line.startsWith('+++') ? [line.slice(1)] : [];
|
|
5
|
-
});
|
|
6
|
-
}
|
|
7
|
-
function removedLines(lines) {
|
|
8
|
-
return lines.flatMap(function removed(line) {
|
|
9
|
-
return line.startsWith('-') && !line.startsWith('---') ? [line.slice(1)] : [];
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
export function createStringHunks(expected, actual) {
|
|
13
|
-
return structuredPatch('expected', 'actual', expected, actual, '', '', { context: 2 }).hunks.map(function toHunk(hunk) {
|
|
14
|
-
return {
|
|
15
|
-
actualStart: hunk.newStart,
|
|
16
|
-
added: addedLines(hunk.lines),
|
|
17
|
-
expectedStart: hunk.oldStart,
|
|
18
|
-
removed: removedLines(hunk.lines)
|
|
19
|
-
};
|
|
20
|
-
});
|
|
21
|
-
}
|
|
22
|
-
//# sourceMappingURL=string-diff.js.map
|
package/diff/string-diff.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"string-diff.js","sourceRoot":"","sources":["../../../../source/diff/string-diff.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,MAAM,CAAC;AAGvC,SAAS,UAAU,CAAC,KAAwB;IACxC,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,KAAK,CAAC,IAAI;QACpC,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACpF,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,YAAY,CAAC,KAAwB;IAC1C,OAAO,KAAK,CAAC,OAAO,CAAC,SAAS,OAAO,CAAC,IAAI;QACtC,OAAO,IAAI,CAAC,UAAU,CAAC,GAAG,CAAC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,KAAK,CAAC,CAAC,CAAC,CAAC,CAAE,IAAI,CAAC,KAAK,CAAC,CAAC,CAAC,CAAE,CAAC,CAAC,CAAC,EAAE,CAAC;IACpF,CAAC,CAAC,CAAC;AACP,CAAC;AAED,MAAM,UAAU,iBAAiB,CAAC,QAAgB,EAAE,MAAc;IAC9D,OAAO,eAAe,CAAC,UAAU,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,CAAC,KAAK,CAAC,GAAG,CAC5F,SAAS,MAAM,CAAC,IAAI;QAChB,OAAO;YACH,WAAW,EAAE,IAAI,CAAC,QAAQ;YAC1B,KAAK,EAAE,UAAU,CAAC,IAAI,CAAC,KAAK,CAAC;YAC7B,aAAa,EAAE,IAAI,CAAC,QAAQ;YAC5B,OAAO,EAAE,YAAY,CAAC,IAAI,CAAC,KAAK,CAAC;SACpC,CAAC;IACN,CAAC,CACJ,CAAC;AACN,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import type { CompositeAssertionReference, CompositeAssertionReturn, NarrowingCompositeAssertionReference } from '../assertion-protocol/assertion-reference.ts';
|
|
2
|
-
import type { AssertionOptions, DeepComparable, InstanceConstructor } from '../assertion-protocol/assertion-node-shape.ts';
|
|
3
|
-
import { type SynchronousCallback, type ThrownMatcher } from '../assertion-protocol/thrown-matcher.ts';
|
|
4
|
-
export type AssertAssertionFacade = {
|
|
5
|
-
<Arguments extends readonly unknown[], Result extends Promise<CompositeAssertionReturn<'assert'>>>(reference: CompositeAssertionReference<Arguments, Result>, ...parameters: Arguments): Promise<void>;
|
|
6
|
-
<Arguments extends readonly unknown[], Result extends CompositeAssertionReturn<'assert'>>(reference: CompositeAssertionReference<Arguments, Result>, ...parameters: Arguments): void;
|
|
7
|
-
<Actual, Narrowed extends Actual, Arguments extends readonly unknown[]>(reference: NarrowingCompositeAssertionReference<Actual, Narrowed, Arguments>, actual: Actual, ...parameters: Arguments): void;
|
|
8
|
-
readonly annotated: (message: string) => AssertAssertionFacade;
|
|
9
|
-
readonly array: (actual: unknown, options?: AssertionOptions) => void;
|
|
10
|
-
readonly arrayContainsPartial: <Actual, Expected>(actual: readonly DeepComparable<Actual>[], expectedSubset: DeepComparable<Expected>, options?: AssertionOptions) => void;
|
|
11
|
-
readonly between: (actual: number, minimum: number, maximum: number, options?: AssertionOptions) => void;
|
|
12
|
-
readonly boolean: (actual: unknown, options?: AssertionOptions) => void;
|
|
13
|
-
readonly deepEqual: <Actual, Expected>(actual: DeepComparable<Actual>, expected: DeepComparable<Expected>, options?: AssertionOptions) => void;
|
|
14
|
-
readonly defined: (actual: unknown, options?: AssertionOptions) => void;
|
|
15
|
-
readonly empty: (actual: unknown, options?: AssertionOptions) => void;
|
|
16
|
-
readonly endsWith: (actual: string, expected: string, options?: AssertionOptions) => void;
|
|
17
|
-
readonly equal: (actual: unknown, expected: unknown, options?: AssertionOptions) => void;
|
|
18
|
-
readonly fail: (options?: AssertionOptions) => void;
|
|
19
|
-
readonly false: (actual: unknown, options?: AssertionOptions) => void;
|
|
20
|
-
readonly function: (actual: unknown, options?: AssertionOptions) => void;
|
|
21
|
-
readonly greaterThan: (actual: number, expected: number, options?: AssertionOptions) => void;
|
|
22
|
-
readonly greaterThanOrEqual: (actual: number, expected: number, options?: AssertionOptions) => void;
|
|
23
|
-
readonly hasProperty: (actual: unknown, key: PropertyKey, options?: AssertionOptions) => void;
|
|
24
|
-
readonly includes: (actual: string, expected: string, options?: AssertionOptions) => void;
|
|
25
|
-
readonly instanceOf: (actual: unknown, expected: InstanceConstructor, options?: AssertionOptions) => void;
|
|
26
|
-
readonly length: (actual: unknown, expectedLength: number, options?: AssertionOptions) => void;
|
|
27
|
-
readonly lessThan: (actual: number, expected: number, options?: AssertionOptions) => void;
|
|
28
|
-
readonly lessThanOrEqual: (actual: number, expected: number, options?: AssertionOptions) => void;
|
|
29
|
-
readonly match: (actual: string, pattern: RegExp, options?: AssertionOptions) => void;
|
|
30
|
-
readonly membersPartialDeepEqual: <Actual, Expected>(actual: readonly DeepComparable<Actual>[], expectedMembers: readonly DeepComparable<Expected>[], options?: AssertionOptions) => void;
|
|
31
|
-
readonly notDeepEqual: <Actual, Expected>(actual: DeepComparable<Actual>, expected: DeepComparable<Expected>, options?: AssertionOptions) => void;
|
|
32
|
-
readonly notEmpty: (actual: unknown, options?: AssertionOptions) => void;
|
|
33
|
-
readonly notEqual: (actual: unknown, expected: unknown, options?: AssertionOptions) => void;
|
|
34
|
-
readonly notMatch: (actual: string, pattern: RegExp, options?: AssertionOptions) => void;
|
|
35
|
-
readonly notNull: (actual: unknown, options?: AssertionOptions) => void;
|
|
36
|
-
readonly null: (actual: unknown, options?: AssertionOptions) => void;
|
|
37
|
-
readonly number: (actual: unknown, options?: AssertionOptions) => void;
|
|
38
|
-
readonly object: (actual: unknown, options?: AssertionOptions) => void;
|
|
39
|
-
readonly partialDeepEqual: <Actual, Expected>(actual: DeepComparable<Actual>, expectedSubset: DeepComparable<Expected>, options?: AssertionOptions) => void;
|
|
40
|
-
readonly rejects: (thunk: () => PromiseLike<unknown>, matcher: ThrownMatcher, options?: AssertionOptions) => Promise<void>;
|
|
41
|
-
readonly startsWith: (actual: string, expected: string, options?: AssertionOptions) => void;
|
|
42
|
-
readonly string: (actual: unknown, options?: AssertionOptions) => void;
|
|
43
|
-
readonly throws: <Body extends () => unknown>(body: SynchronousCallback<Body>, matcher: ThrownMatcher, options?: AssertionOptions) => void;
|
|
44
|
-
readonly true: (actual: unknown, options?: AssertionOptions) => void;
|
|
45
|
-
readonly undefined: (actual: unknown, options?: AssertionOptions) => void;
|
|
46
|
-
};
|
|
47
|
-
//# sourceMappingURL=assertion-facade.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertion-facade.d.ts","sourceRoot":"","sources":["../../../../source/engine/assertion-facade.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACR,2BAA2B,EAC3B,wBAAwB,EACxB,oCAAoC,EACvC,MAAM,8CAA8C,CAAC;AACtD,OAAO,KAAK,EACR,gBAAgB,EAChB,cAAc,EACd,qBAEH,MAAM,+CAA+C,CAAC;AAGvD,OAAO,EAEH,KAAK,mBAAmB,EACxB,KAAK,aAAa,EACrB,MAAM,yCAAyC,CAAC;MAM3C,MAAM,qBAAqB,GAAG;IAChC,CAAC,SAAS,SAAS,SAAS,OAAO,EAAE,EAAE,MAAM,SAAS,OAAO,CAAC,wBAAwB,CAAC,QAAQ,CAAC,CAAC,EAC7F,SAAS,EAAE,2BAA2B,CAAC,SAAS,EAAE,MAAM,CAAC,EACzD,GAAG,UAA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OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IAC5F,QAAQ,CAAC,MAAM,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACvE,QAAQ,CAAC,MAAM,EAAE,CAAC,IAAI,SAAS,MAAM,OAAO,EACxC,IAAI,EAAE,mBAAmB,CAAC,IAAI,CAAC,EAC/B,OAAO,EAAE,aAAa,EACtB,OAAO,CAAC,EAAE,gBAAgB,KACzB,IAAI,CAAC;IACV,QAAQ,CAAC,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;IACrE,QAAQ,CAAC,SAAS,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,OAAO,CAAC,EAAE,gBAAgB,KAAK,IAAI,CAAC;CAC7E,CAAC"}
|
|
@@ -1,362 +0,0 @@
|
|
|
1
|
-
import { sourceLocationsWithCurrentForwarding } from "../assertion-protocol/source-location-forwarding.js";
|
|
2
|
-
import { captureSourceLocation } from "../assertion-protocol/source-location.js";
|
|
3
|
-
import { createThrownMatcherAssertion } from "../assertion-protocol/thrown-matcher.js";
|
|
4
|
-
import { recordAssertReference } from "./custom-assertion-recording.js";
|
|
5
|
-
function messageFromOptions(options, annotation) {
|
|
6
|
-
return options?.message ?? annotation;
|
|
7
|
-
}
|
|
8
|
-
function assertAssertionMetadata(options, annotation, captureLocation) {
|
|
9
|
-
return {
|
|
10
|
-
message: messageFromOptions(options, annotation),
|
|
11
|
-
source: 'assert',
|
|
12
|
-
sourceLocations: sourceLocationsWithCurrentForwarding(captureLocation)
|
|
13
|
-
};
|
|
14
|
-
}
|
|
15
|
-
function isAssertMethodName(methods, property) {
|
|
16
|
-
return typeof property === 'string' && Object.hasOwn(methods, property);
|
|
17
|
-
}
|
|
18
|
-
function isAssertAssertionFacade(value, methods) {
|
|
19
|
-
return typeof value === 'function' &&
|
|
20
|
-
Object.keys(methods).every(function methodIsAvailable(methodName) {
|
|
21
|
-
return typeof Reflect.get(value, methodName) === 'function';
|
|
22
|
-
});
|
|
23
|
-
}
|
|
24
|
-
export function createRecordingAssertFacadeWithLocation(sink, annotation, captureLocation) {
|
|
25
|
-
const methods = {
|
|
26
|
-
annotated(message) {
|
|
27
|
-
return createRecordingAssertFacadeWithLocation(sink, message, captureLocation);
|
|
28
|
-
},
|
|
29
|
-
array(actual, options) {
|
|
30
|
-
sink.recordAssert({
|
|
31
|
-
actual,
|
|
32
|
-
check: 'array',
|
|
33
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
34
|
-
});
|
|
35
|
-
},
|
|
36
|
-
arrayContainsPartial(actual, expected, options) {
|
|
37
|
-
sink.recordAssert({
|
|
38
|
-
actual,
|
|
39
|
-
check: 'array-contains-partial',
|
|
40
|
-
expected,
|
|
41
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
42
|
-
});
|
|
43
|
-
},
|
|
44
|
-
between(actual, minimum, maximum, options) {
|
|
45
|
-
sink.recordAssert({
|
|
46
|
-
actual,
|
|
47
|
-
check: 'between',
|
|
48
|
-
maximum,
|
|
49
|
-
minimum,
|
|
50
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
51
|
-
});
|
|
52
|
-
},
|
|
53
|
-
boolean(actual, options) {
|
|
54
|
-
sink.recordAssert({
|
|
55
|
-
actual,
|
|
56
|
-
check: 'boolean',
|
|
57
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
58
|
-
});
|
|
59
|
-
},
|
|
60
|
-
deepEqual(actual, expected, options) {
|
|
61
|
-
sink.recordAssert({
|
|
62
|
-
actual,
|
|
63
|
-
check: 'deep-equal',
|
|
64
|
-
expected,
|
|
65
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
66
|
-
});
|
|
67
|
-
},
|
|
68
|
-
defined(actual, options) {
|
|
69
|
-
sink.recordAssert({
|
|
70
|
-
actual,
|
|
71
|
-
check: 'defined',
|
|
72
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
73
|
-
});
|
|
74
|
-
},
|
|
75
|
-
empty(actual, options) {
|
|
76
|
-
sink.recordAssert({
|
|
77
|
-
actual,
|
|
78
|
-
check: 'empty',
|
|
79
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
80
|
-
});
|
|
81
|
-
},
|
|
82
|
-
endsWith(actual, expected, options) {
|
|
83
|
-
sink.recordAssert({
|
|
84
|
-
actual,
|
|
85
|
-
check: 'ends-with',
|
|
86
|
-
expected,
|
|
87
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
88
|
-
});
|
|
89
|
-
},
|
|
90
|
-
equal(actual, expected, options) {
|
|
91
|
-
sink.recordAssert({
|
|
92
|
-
actual,
|
|
93
|
-
check: 'equal',
|
|
94
|
-
expected,
|
|
95
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
96
|
-
});
|
|
97
|
-
},
|
|
98
|
-
fail(options) {
|
|
99
|
-
sink.recordAssert({
|
|
100
|
-
check: 'fail',
|
|
101
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
102
|
-
});
|
|
103
|
-
},
|
|
104
|
-
false(actual, options) {
|
|
105
|
-
sink.recordAssert({
|
|
106
|
-
actual,
|
|
107
|
-
check: 'false',
|
|
108
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
109
|
-
});
|
|
110
|
-
},
|
|
111
|
-
function(actual, options) {
|
|
112
|
-
sink.recordAssert({
|
|
113
|
-
actual,
|
|
114
|
-
check: 'function',
|
|
115
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
116
|
-
});
|
|
117
|
-
},
|
|
118
|
-
greaterThan(actual, expected, options) {
|
|
119
|
-
sink.recordAssert({
|
|
120
|
-
actual,
|
|
121
|
-
check: 'greater-than',
|
|
122
|
-
expected,
|
|
123
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
124
|
-
});
|
|
125
|
-
},
|
|
126
|
-
greaterThanOrEqual(actual, expected, options) {
|
|
127
|
-
sink.recordAssert({
|
|
128
|
-
actual,
|
|
129
|
-
check: 'greater-than-or-equal',
|
|
130
|
-
expected,
|
|
131
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
132
|
-
});
|
|
133
|
-
},
|
|
134
|
-
hasProperty(actual, key, options) {
|
|
135
|
-
sink.recordAssert({
|
|
136
|
-
actual,
|
|
137
|
-
check: 'has-property',
|
|
138
|
-
key,
|
|
139
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
140
|
-
});
|
|
141
|
-
},
|
|
142
|
-
includes(actual, expected, options) {
|
|
143
|
-
sink.recordAssert({
|
|
144
|
-
actual,
|
|
145
|
-
check: 'includes',
|
|
146
|
-
expected,
|
|
147
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
148
|
-
});
|
|
149
|
-
},
|
|
150
|
-
instanceOf(actual, expected, options) {
|
|
151
|
-
sink.recordAssert({
|
|
152
|
-
actual,
|
|
153
|
-
check: 'instance-of',
|
|
154
|
-
expected,
|
|
155
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
156
|
-
});
|
|
157
|
-
},
|
|
158
|
-
length(actual, expectedLength, options) {
|
|
159
|
-
sink.recordAssert({
|
|
160
|
-
actual,
|
|
161
|
-
check: 'length',
|
|
162
|
-
expectedLength,
|
|
163
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
164
|
-
});
|
|
165
|
-
},
|
|
166
|
-
lessThan(actual, expected, options) {
|
|
167
|
-
sink.recordAssert({
|
|
168
|
-
actual,
|
|
169
|
-
check: 'less-than',
|
|
170
|
-
expected,
|
|
171
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
172
|
-
});
|
|
173
|
-
},
|
|
174
|
-
lessThanOrEqual(actual, expected, options) {
|
|
175
|
-
sink.recordAssert({
|
|
176
|
-
actual,
|
|
177
|
-
check: 'less-than-or-equal',
|
|
178
|
-
expected,
|
|
179
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
180
|
-
});
|
|
181
|
-
},
|
|
182
|
-
match(actual, pattern, options) {
|
|
183
|
-
sink.recordAssert({
|
|
184
|
-
actual,
|
|
185
|
-
check: 'match',
|
|
186
|
-
pattern,
|
|
187
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
188
|
-
});
|
|
189
|
-
},
|
|
190
|
-
membersPartialDeepEqual(actual, expected, options) {
|
|
191
|
-
sink.recordAssert({
|
|
192
|
-
actual,
|
|
193
|
-
check: 'members-partial-deep-equal',
|
|
194
|
-
expected,
|
|
195
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
196
|
-
});
|
|
197
|
-
},
|
|
198
|
-
notDeepEqual(actual, expected, options) {
|
|
199
|
-
sink.recordAssert({
|
|
200
|
-
actual,
|
|
201
|
-
check: 'not-deep-equal',
|
|
202
|
-
expected,
|
|
203
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
204
|
-
});
|
|
205
|
-
},
|
|
206
|
-
notEmpty(actual, options) {
|
|
207
|
-
sink.recordAssert({
|
|
208
|
-
actual,
|
|
209
|
-
check: 'not-empty',
|
|
210
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
211
|
-
});
|
|
212
|
-
},
|
|
213
|
-
notEqual(actual, expected, options) {
|
|
214
|
-
sink.recordAssert({
|
|
215
|
-
actual,
|
|
216
|
-
check: 'not-equal',
|
|
217
|
-
expected,
|
|
218
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
219
|
-
});
|
|
220
|
-
},
|
|
221
|
-
notMatch(actual, pattern, options) {
|
|
222
|
-
sink.recordAssert({
|
|
223
|
-
actual,
|
|
224
|
-
check: 'not-match',
|
|
225
|
-
pattern,
|
|
226
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
227
|
-
});
|
|
228
|
-
},
|
|
229
|
-
notNull(actual, options) {
|
|
230
|
-
sink.recordAssert({
|
|
231
|
-
actual,
|
|
232
|
-
check: 'not-null',
|
|
233
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
234
|
-
});
|
|
235
|
-
},
|
|
236
|
-
null(actual, options) {
|
|
237
|
-
sink.recordAssert({
|
|
238
|
-
actual,
|
|
239
|
-
check: 'null',
|
|
240
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
241
|
-
});
|
|
242
|
-
},
|
|
243
|
-
number(actual, options) {
|
|
244
|
-
sink.recordAssert({
|
|
245
|
-
actual,
|
|
246
|
-
check: 'number',
|
|
247
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
248
|
-
});
|
|
249
|
-
},
|
|
250
|
-
object(actual, options) {
|
|
251
|
-
sink.recordAssert({
|
|
252
|
-
actual,
|
|
253
|
-
check: 'object',
|
|
254
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
255
|
-
});
|
|
256
|
-
},
|
|
257
|
-
partialDeepEqual(actual, expected, options) {
|
|
258
|
-
sink.recordAssert({
|
|
259
|
-
actual,
|
|
260
|
-
check: 'partial-deep-equal',
|
|
261
|
-
expected,
|
|
262
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
263
|
-
});
|
|
264
|
-
},
|
|
265
|
-
async rejects(thunk, matcher, options) {
|
|
266
|
-
const metadata = assertAssertionMetadata(options, annotation, captureLocation);
|
|
267
|
-
const promise = thunk();
|
|
268
|
-
const pending = sink.recordPendingAssert();
|
|
269
|
-
try {
|
|
270
|
-
const value = await promise;
|
|
271
|
-
pending.resolve(createThrownMatcherAssertion({
|
|
272
|
-
kind: 'rejects',
|
|
273
|
-
matcher,
|
|
274
|
-
...metadata,
|
|
275
|
-
observation: { status: 'resolved', value }
|
|
276
|
-
}));
|
|
277
|
-
}
|
|
278
|
-
catch (error) {
|
|
279
|
-
pending.resolve(createThrownMatcherAssertion({
|
|
280
|
-
kind: 'rejects',
|
|
281
|
-
matcher,
|
|
282
|
-
...metadata,
|
|
283
|
-
observation: { status: 'rejected', value: error }
|
|
284
|
-
}));
|
|
285
|
-
}
|
|
286
|
-
},
|
|
287
|
-
startsWith(actual, expected, options) {
|
|
288
|
-
sink.recordAssert({
|
|
289
|
-
actual,
|
|
290
|
-
check: 'starts-with',
|
|
291
|
-
expected,
|
|
292
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
293
|
-
});
|
|
294
|
-
},
|
|
295
|
-
string(actual, options) {
|
|
296
|
-
sink.recordAssert({
|
|
297
|
-
actual,
|
|
298
|
-
check: 'string',
|
|
299
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
300
|
-
});
|
|
301
|
-
},
|
|
302
|
-
throws(body, matcher, options) {
|
|
303
|
-
const metadata = assertAssertionMetadata(options, annotation, captureLocation);
|
|
304
|
-
try {
|
|
305
|
-
const value = body();
|
|
306
|
-
sink.recordAssert(createThrownMatcherAssertion({
|
|
307
|
-
kind: 'throws',
|
|
308
|
-
matcher,
|
|
309
|
-
...metadata,
|
|
310
|
-
observation: { status: 'returned', value }
|
|
311
|
-
}));
|
|
312
|
-
}
|
|
313
|
-
catch (error) {
|
|
314
|
-
sink.recordAssert(createThrownMatcherAssertion({
|
|
315
|
-
kind: 'throws',
|
|
316
|
-
matcher,
|
|
317
|
-
...metadata,
|
|
318
|
-
observation: { status: 'threw', value: error }
|
|
319
|
-
}));
|
|
320
|
-
}
|
|
321
|
-
},
|
|
322
|
-
true(actual, options) {
|
|
323
|
-
sink.recordAssert({
|
|
324
|
-
actual,
|
|
325
|
-
check: 'true',
|
|
326
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
327
|
-
});
|
|
328
|
-
},
|
|
329
|
-
undefined(actual, options) {
|
|
330
|
-
sink.recordAssert({
|
|
331
|
-
actual,
|
|
332
|
-
check: 'undefined',
|
|
333
|
-
...assertAssertionMetadata(options, annotation, captureLocation)
|
|
334
|
-
});
|
|
335
|
-
}
|
|
336
|
-
};
|
|
337
|
-
function callAssertReference(reference, ...parameters) {
|
|
338
|
-
return recordAssertReference({
|
|
339
|
-
annotation,
|
|
340
|
-
parameters,
|
|
341
|
-
reference,
|
|
342
|
-
sink,
|
|
343
|
-
sourceLocations: sourceLocationsWithCurrentForwarding(captureLocation)
|
|
344
|
-
});
|
|
345
|
-
}
|
|
346
|
-
const facade = new Proxy(callAssertReference, {
|
|
347
|
-
get(target, property, receiver) {
|
|
348
|
-
if (isAssertMethodName(methods, property)) {
|
|
349
|
-
return methods[property];
|
|
350
|
-
}
|
|
351
|
-
return Reflect.get(target, property, receiver);
|
|
352
|
-
}
|
|
353
|
-
});
|
|
354
|
-
if (isAssertAssertionFacade(facade, methods)) {
|
|
355
|
-
return facade;
|
|
356
|
-
}
|
|
357
|
-
throw new TypeError('Failed to create assert facade.');
|
|
358
|
-
}
|
|
359
|
-
export function createRecordingAssertFacade(sink, annotation) {
|
|
360
|
-
return createRecordingAssertFacadeWithLocation(sink, annotation, captureSourceLocation);
|
|
361
|
-
}
|
|
362
|
-
//# sourceMappingURL=assertion-facade.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertion-facade.js","sourceRoot":"","sources":["../../../../source/engine/assertion-facade.ts"],"names":[],"mappings":"AAWA,OAAO,EAAE,oCAAoC,EAAE,MAAM,qDAAqD,CAAC;AAC3G,OAAO,EAAE,qBAAqB,EAAE,MAAM,0CAA0C,CAAC;AACjF,OAAO,EACH,4BAA4B,EAG/B,MAAM,yCAAyC,CAAC;AACjD,OAAO,EACH,qBAAqB,EAExB,MAAM,iCAAiC,CAAC;AA4FzC,SAAS,kBAAkB,CAAC,OAAqC,EAAE,UAAyB;IACxF,OAAO,OAAO,EAAE,OAAO,IAAI,UAAU,CAAC;AAC1C,CAAC;AAED,SAAS,uBAAuB,CAC5B,OAAqC,EACrC,UAAyB,EACzB,eAA+C;IAE/C,OAAO;QACH,OAAO,EAAE,kBAAkB,CAAC,OAAO,EAAE,UAAU,CAAC;QAChD,MAAM,EAAE,QAAQ;QAChB,eAAe,EAAE,oCAAoC,CAAC,e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YAED,OAAO,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACnD,CAAC;KACJ,CAAC,CAAC;IAEH,IAAI,uBAAuB,CAAC,MAAM,EAAE,OAAO,CAAC,EAAE,CAAC;QAC3C,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,IAAI,SAAS,CAAC,iCAAiC,CAAC,CAAC;AAC3D,CAAC;AAED,MAAM,UAAU,2BAA2B,CACvC,IAAyB,EACzB,UAAyB;IAEzB,OAAO,uCAAuC,CAAC,IAAI,EAAE,UAAU,EAAE,qBAAqB,CAAC,CAAC;AAC5F,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import type { TestContractFailure } from './run-result.ts';
|
|
2
|
-
|
|
3
|
-
export declare class RequireFailedSignalError extends Error {
|
|
4
|
-
constructor();
|
|
5
|
-
}
|
|
6
|
-
export declare class TestContractSignalError extends Error {
|
|
7
|
-
private readonly contractFailure;
|
|
8
|
-
constructor(failure: TestContractFailure, options: Readonly<ErrorOptions> | undefined);
|
|
9
|
-
failure(): TestContractFailure;
|
|
10
|
-
}
|
|
11
|
-
export {};
|
|
12
|
-
//# sourceMappingURL=assertion-recorder.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"assertion-recorder.d.ts","sourceRoot":"","sources":["../../../../source/engine/assertion-recorder.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAOE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;;MAgBrD,SAGO,8BAWyB,SAAQ,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"}
|