@overkill-dev/run 0.0.84 → 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/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
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import { assertionOutcome } from "../assertion-evaluation.js";
|
|
2
|
-
import { isPlainObject } from "../partial-matching.js";
|
|
3
|
-
export const typeShapeSummaryByCheck = {
|
|
4
|
-
array: 'Expected value to be an array.',
|
|
5
|
-
boolean: 'Expected value to be a boolean.',
|
|
6
|
-
function: 'Expected value to be a function.',
|
|
7
|
-
'has-property': 'Expected object to have the own property.',
|
|
8
|
-
'instance-of': 'Expected value to be an instance of the constructor.',
|
|
9
|
-
number: 'Expected value to be a number.',
|
|
10
|
-
object: 'Expected value to be an object.',
|
|
11
|
-
string: 'Expected value to be a string.'
|
|
12
|
-
};
|
|
13
|
-
function isFiniteNumber(value) {
|
|
14
|
-
return typeof value === 'number' && Number.isFinite(value);
|
|
15
|
-
}
|
|
16
|
-
function isSupportedObject(value) {
|
|
17
|
-
return typeof value === 'object' && value !== null;
|
|
18
|
-
}
|
|
19
|
-
export function evaluateArray(assertion) {
|
|
20
|
-
return assertionOutcome(assertion.actual, 'array', Array.isArray(assertion.actual));
|
|
21
|
-
}
|
|
22
|
-
export function evaluateBoolean(assertion) {
|
|
23
|
-
return assertionOutcome(assertion.actual, 'boolean', typeof assertion.actual === 'boolean');
|
|
24
|
-
}
|
|
25
|
-
export function evaluateFunction(assertion) {
|
|
26
|
-
return assertionOutcome(assertion.actual, 'function', typeof assertion.actual === 'function');
|
|
27
|
-
}
|
|
28
|
-
export function evaluateHasProperty(assertion) {
|
|
29
|
-
return assertionOutcome(assertion.actual, `own property ${String(assertion.key)}`, isSupportedObject(assertion.actual) && Object.hasOwn(assertion.actual, assertion.key));
|
|
30
|
-
}
|
|
31
|
-
export function evaluateInstanceOf(assertion) {
|
|
32
|
-
return assertionOutcome(assertion.actual, assertion.expected, assertion.actual instanceof assertion.expected);
|
|
33
|
-
}
|
|
34
|
-
export function evaluateNumber(assertion) {
|
|
35
|
-
return assertionOutcome(assertion.actual, 'finite number', isFiniteNumber(assertion.actual));
|
|
36
|
-
}
|
|
37
|
-
export function evaluateObject(assertion) {
|
|
38
|
-
return assertionOutcome(assertion.actual, 'plain object', isPlainObject(assertion.actual));
|
|
39
|
-
}
|
|
40
|
-
export function evaluateString(assertion) {
|
|
41
|
-
return assertionOutcome(assertion.actual, 'string', typeof assertion.actual === 'string');
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=type-shape.js.map
|
|
@@ -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,mBAAmB,CAAC,SAAmC;IACnE,OAAO,gBAAgB,CACnB,SAAS,CAAC,MAAM,EAChB,gBAAgB,MAAM,CAAC,SAAS,CAAC,GAAG,CAAC,EAAE,EACvC,iBAAiB,CAAC,SAAS,CAAC,MAAM,CAAC,IAAI,MAAM,CAAC,MAAM,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,GAAG,CAAC,CACxF,CAAC;AACN,CAAC;AAED,MAAM,UAAU,kBAAkB,CAAC,SAAkC;IACjE,OAAO,gBAAgB,CAAC,SAAS,CAAC,MAAM,EAAE,SAAS,CAAC,QAAQ,EAAE,SAAS,CAAC,MAAM,YAAY,SAAS,CAAC,QAAQ,CAAC,CAAC;AAClH,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,SAA4B;IACvD,OAAO,gBAAgB,CAAC,SAAS,CAAC,MAAM,EAAE,eAAe,EAAE,cAAc,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AACjG,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,SAA4B;IACvD,OAAO,gBAAgB,CAAC,SAAS,CAAC,MAAM,EAAE,cAAc,EAAE,aAAa,CAAC,SAAS,CAAC,MAAM,CAAC,CAAC,CAAC;AAC/F,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,SAA4B;IACvD,OAAO,gBAAgB,CAAC,SAAS,CAAC,MAAM,EAAE,QAAQ,EAAE,OAAO,SAAS,CAAC,MAAM,KAAK,QAAQ,CAAC,CAAC;AAC9F,CAAC"}
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import { isPlainObject, ownKeys } from "./partial-matching.js";
|
|
2
|
-
function isObject(value) {
|
|
3
|
-
return typeof value === 'object' && value !== null;
|
|
4
|
-
}
|
|
5
|
-
function hasIteratorProvider(value) {
|
|
6
|
-
return typeof Reflect.get(value, Symbol.iterator) === 'function';
|
|
7
|
-
}
|
|
8
|
-
function iterableItems(value) {
|
|
9
|
-
if (!isObject(value) || !hasIteratorProvider(value)) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
return value[Symbol.iterator]();
|
|
13
|
-
}
|
|
14
|
-
function countIterator(iterator, limit) {
|
|
15
|
-
let count = 0;
|
|
16
|
-
let item = iterator.next();
|
|
17
|
-
while (item.done !== true && count < limit) {
|
|
18
|
-
count += 1;
|
|
19
|
-
item = iterator.next();
|
|
20
|
-
}
|
|
21
|
-
return count;
|
|
22
|
-
}
|
|
23
|
-
function knownCollectionCount(value) {
|
|
24
|
-
if (typeof value === 'string' || Array.isArray(value)) {
|
|
25
|
-
return value.length;
|
|
26
|
-
}
|
|
27
|
-
if (value instanceof Map || value instanceof Set) {
|
|
28
|
-
return value.size;
|
|
29
|
-
}
|
|
30
|
-
return isPlainObject(value) ? ownKeys(value).length : null;
|
|
31
|
-
}
|
|
32
|
-
export function collectionCount(value, limit) {
|
|
33
|
-
const knownCount = knownCollectionCount(value);
|
|
34
|
-
if (knownCount !== null) {
|
|
35
|
-
return { count: knownCount, supported: true };
|
|
36
|
-
}
|
|
37
|
-
const iterator = iterableItems(value);
|
|
38
|
-
return iterator === null
|
|
39
|
-
? { count: 0, supported: false }
|
|
40
|
-
: { count: countIterator(iterator, limit), supported: true };
|
|
41
|
-
}
|
|
42
|
-
//# sourceMappingURL=collection-count.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"collection-count.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/collection-count.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AAO/D,SAAS,QAAQ,CAAC,KAAc;IAC5B,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,CAAC;AACvD,CAAC;AAMD,SAAS,mBAAmB,CAAC,KAA8B;IACvD,OAAO,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,QAAQ,CAAC,KAAK,UAAU,CAAC;AACrE,CAAC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AAQ,GAAG,aAAa,CAAC,KAAK,CAAC,CAAC;IAEtC,OAAO,QAAQ,KAAK,IAAI;QACpB,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE;QAChC,CAAC,CAAC,EAAE,KAAK,EAAE,aAAa,CAAC,QAAQ,EAAE,KAAK,CAAC,EAAE,SAAS,EAAE,IAAI,EAAE,CAAC;AACrE,CAAC"}
|
|
@@ -1,175 +0,0 @@
|
|
|
1
|
-
import { serializeValue } from "../compare/serialized-value.js";
|
|
2
|
-
import { assertionSummary } from "./assertion-node.js";
|
|
3
|
-
import { assertionEvaluatorByCheck } from "./assertions/dispatch.js";
|
|
4
|
-
import { resolveSourceLocation } from "./source-location.js";
|
|
5
|
-
function primitiveValueType(value) {
|
|
6
|
-
if (value === null) {
|
|
7
|
-
return 'null';
|
|
8
|
-
}
|
|
9
|
-
const valueType = typeof value;
|
|
10
|
-
return valueType === 'object' || valueType === 'function' ? null : valueType;
|
|
11
|
-
}
|
|
12
|
-
function invalidOperand(check, role, value, index) {
|
|
13
|
-
const type = primitiveValueType(value);
|
|
14
|
-
return type === null
|
|
15
|
-
? null
|
|
16
|
-
: {
|
|
17
|
-
check,
|
|
18
|
-
index,
|
|
19
|
-
role,
|
|
20
|
-
type
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
function invalidMember(check, role, values) {
|
|
24
|
-
for (const [index, value] of values.entries()) {
|
|
25
|
-
const invalid = invalidOperand(check, role, value, index);
|
|
26
|
-
if (invalid !== null) {
|
|
27
|
-
return invalid;
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
function invalidExactDeepAssertionOperand(check, assertion) {
|
|
33
|
-
return invalidOperand(check, 'actual', assertion.actual, null) ??
|
|
34
|
-
invalidOperand(check, 'expected', assertion.expected, null);
|
|
35
|
-
}
|
|
36
|
-
function invalidArrayContainsPartialOperand(check, assertion) {
|
|
37
|
-
const invalidActualMember = Array.isArray(assertion.actual)
|
|
38
|
-
? invalidMember(check, 'actual', assertion.actual)
|
|
39
|
-
: null;
|
|
40
|
-
return invalidOperand(check, 'actual', assertion.actual, null) ??
|
|
41
|
-
invalidActualMember ??
|
|
42
|
-
invalidOperand(check, 'expected', assertion.expected, null);
|
|
43
|
-
}
|
|
44
|
-
function invalidMembersPartialDeepEqualOperand(check, assertion) {
|
|
45
|
-
const invalidActualMember = Array.isArray(assertion.actual)
|
|
46
|
-
? invalidMember(check, 'actual', assertion.actual)
|
|
47
|
-
: null;
|
|
48
|
-
const invalidExpectedMember = Array.isArray(assertion.expected)
|
|
49
|
-
? invalidMember(check, 'expected', assertion.expected)
|
|
50
|
-
: null;
|
|
51
|
-
return invalidOperand(check, 'actual', assertion.actual, null) ??
|
|
52
|
-
invalidOperand(check, 'expected', assertion.expected, null) ??
|
|
53
|
-
invalidActualMember ??
|
|
54
|
-
invalidExpectedMember;
|
|
55
|
-
}
|
|
56
|
-
const deepOperandFinders = {
|
|
57
|
-
'array-contains-partial': invalidArrayContainsPartialOperand,
|
|
58
|
-
'deep-equal': invalidExactDeepAssertionOperand,
|
|
59
|
-
'members-partial-deep-equal': invalidMembersPartialDeepEqualOperand,
|
|
60
|
-
'not-deep-equal': invalidExactDeepAssertionOperand,
|
|
61
|
-
'partial-deep-equal': invalidExactDeepAssertionOperand
|
|
62
|
-
};
|
|
63
|
-
function isDeepAssertionCheck(check) {
|
|
64
|
-
return Object.hasOwn(deepOperandFinders, check);
|
|
65
|
-
}
|
|
66
|
-
function isDeepAssertion(assertion) {
|
|
67
|
-
return isDeepAssertionCheck(assertion.check) && Object.hasOwn(assertion, 'expected');
|
|
68
|
-
}
|
|
69
|
-
export function invalidDeepAssertionOperand(assertion) {
|
|
70
|
-
if (assertion.check === 'composite') {
|
|
71
|
-
for (const child of assertion.children) {
|
|
72
|
-
const invalid = invalidDeepAssertionOperand(child);
|
|
73
|
-
if (invalid !== null) {
|
|
74
|
-
return invalid;
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
return null;
|
|
78
|
-
}
|
|
79
|
-
return isDeepAssertion(assertion)
|
|
80
|
-
? deepOperandFinders[assertion.check](assertion.check, assertion)
|
|
81
|
-
: null;
|
|
82
|
-
}
|
|
83
|
-
function evaluateAssertionNode(check, assertion) {
|
|
84
|
-
return assertionEvaluatorByCheck[check](assertion);
|
|
85
|
-
}
|
|
86
|
-
function assertNonEmptyItems(items, message) {
|
|
87
|
-
if (items.length === 0) {
|
|
88
|
-
throw new TypeError(message);
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
function resolveSourceLocations(sourceLocations) {
|
|
92
|
-
const resolved = sourceLocations.map(resolveSourceLocation);
|
|
93
|
-
assertNonEmptyItems(resolved, 'Expected resolved assertion source locations to be non-empty.');
|
|
94
|
-
return resolved;
|
|
95
|
-
}
|
|
96
|
-
function evaluateForeignAssertion(assertion, id) {
|
|
97
|
-
if (assertion.result.passed) {
|
|
98
|
-
return null;
|
|
99
|
-
}
|
|
100
|
-
return {
|
|
101
|
-
actual: serializeValue(assertion.label),
|
|
102
|
-
diff: null,
|
|
103
|
-
error: assertion.result.error,
|
|
104
|
-
expected: serializeValue('foreign assertion pass'),
|
|
105
|
-
id,
|
|
106
|
-
kind: 'foreign',
|
|
107
|
-
label: assertion.label,
|
|
108
|
-
path: [],
|
|
109
|
-
source: assertion.source,
|
|
110
|
-
sourceLocations: resolveSourceLocations(assertion.sourceLocations),
|
|
111
|
-
summary: assertion.message ?? assertion.summary
|
|
112
|
-
};
|
|
113
|
-
}
|
|
114
|
-
function evaluateLeafAssertion(assertion, id) {
|
|
115
|
-
const evaluation = {
|
|
116
|
-
...evaluateAssertionNode(assertion.check, assertion),
|
|
117
|
-
summary: assertionSummary(assertion)
|
|
118
|
-
};
|
|
119
|
-
if (evaluation.passed) {
|
|
120
|
-
return null;
|
|
121
|
-
}
|
|
122
|
-
return {
|
|
123
|
-
actual: evaluation.actual,
|
|
124
|
-
diff: evaluation.diff,
|
|
125
|
-
expected: evaluation.expected,
|
|
126
|
-
id,
|
|
127
|
-
kind: 'leaf',
|
|
128
|
-
path: evaluation.path,
|
|
129
|
-
source: assertion.source,
|
|
130
|
-
sourceLocations: resolveSourceLocations(assertion.sourceLocations),
|
|
131
|
-
summary: evaluation.summary
|
|
132
|
-
};
|
|
133
|
-
}
|
|
134
|
-
function evaluateCompositeChild(assertion, id) {
|
|
135
|
-
if (assertion.check === 'foreign') {
|
|
136
|
-
return evaluateForeignAssertion(assertion, id);
|
|
137
|
-
}
|
|
138
|
-
return evaluateLeafAssertion(assertion, id);
|
|
139
|
-
}
|
|
140
|
-
function evaluateCompositeAssertion(assertion, id) {
|
|
141
|
-
const children = assertion.children.flatMap(function evaluateChild(child, index) {
|
|
142
|
-
const failedCheck = evaluateCompositeChild(child, `${id}.${index + 1}`);
|
|
143
|
-
return failedCheck === null ? [] : [failedCheck];
|
|
144
|
-
});
|
|
145
|
-
if (children.length === 0) {
|
|
146
|
-
return null;
|
|
147
|
-
}
|
|
148
|
-
assertNonEmptyItems(children, 'Expected composite assertion failure to contain failed children.');
|
|
149
|
-
return {
|
|
150
|
-
actual: serializeValue(assertion.actual),
|
|
151
|
-
children,
|
|
152
|
-
diff: null,
|
|
153
|
-
expected: serializeValue(assertion.expected),
|
|
154
|
-
id,
|
|
155
|
-
kind: 'composite',
|
|
156
|
-
path: [],
|
|
157
|
-
source: assertion.source,
|
|
158
|
-
sourceLocations: resolveSourceLocations(assertion.sourceLocations),
|
|
159
|
-
summary: assertionSummary(assertion)
|
|
160
|
-
};
|
|
161
|
-
}
|
|
162
|
-
export function evaluateAssertion(assertion, id) {
|
|
163
|
-
const checkId = String(id);
|
|
164
|
-
if (assertion.check === 'composite') {
|
|
165
|
-
return evaluateCompositeAssertion(assertion, checkId);
|
|
166
|
-
}
|
|
167
|
-
if (assertion.check === 'foreign') {
|
|
168
|
-
return evaluateForeignAssertion(assertion, checkId);
|
|
169
|
-
}
|
|
170
|
-
return evaluateLeafAssertion(assertion, checkId);
|
|
171
|
-
}
|
|
172
|
-
export function assertionPasses(assertion) {
|
|
173
|
-
return evaluateAssertion(assertion, 1) === null;
|
|
174
|
-
}
|
|
175
|
-
//# sourceMappingURL=evaluation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"evaluation.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/evaluation.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAEhE,OAAO,EACH,gBAAgB,EAMnB,MAAM,qBAAqB,CAAC;AAQ7B,OAAO,EAAE,yBAAyB,EAA6B,MAAM,0BAA0B,CAAC;AAChG,OAAO,EAAE,qBAAqB,EAAE,MAAM,sBAAsB,CAAC;AA4C7D,SAAS,kBAAkB,CAAC,KAAc;IACtC,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QACjB,OAAO,MAAM,CAAC;IAClB,CAAC;IAED,MAAM,SAAS,GAAG,OAAO,KAAK,CAAC;IAE/B,OAAO,SAAS,KAAK,QAAQ,IAAI,SAAS,KAAK,UAAU,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC;AACjF,CAAC;AAED,SAAS,cAAc,CACnB,KAAyB,EACzB,IAA8B,EAC9B,KAAc,EACd,KAAoB;IAEpB,MAAM,IAAI,GAAG,kBAAkB,CAAC,KAAK,CAAC,CAAC;IAEvC,OAAO,IAAI,KAAK,IAAI;QAChB,CAAC,CAAC,IAAI;QACN,CAAC,CAAC;YACE,KAAK;YACL,KAAK;YACL,IAAI;YACJ,IAAI;SACP,CAAC;AACV,CAAC;AAED,SAAS,aAAa,CAClB,KAAyB,EACzB,IAA8B,EAC9B,MAA0B;IAE1B,KAAK,MAAM,CAAE,KAAK,EAAE,KAAK,CAAE,IAAI,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;QAC9C,MAAM,OAAO,GAAG,cAAc,CAAC,KAAK,EAAE,IAAI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QAAQ;QACR,IAAI,EAAE,IAAI;QACV,QAAQ,EAAE,cAAc,CAAC,SAAS,CAAC,QAAQ,CAAC;QAC5C,EAAE;QACF,IAAI,EAAE,WAAW;QACjB,IAAI,EAAE,EAAE;QACR,MAAM,EAAE,SAAS,CAAC,MAAM;QACxB,eAAe,EAAE,sBAAsB,CAAC,SAAS,CAAC,eAAe,CAAC;QAClE,OAAO,EAAE,gBAAgB,CAAC,SAAS,CAAC;KACvC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,iBAAiB,CAC7B,SAAsD,EACtD,EAAmB;IAEnB,MAAM,OAAO,GAAG,MAAM,CAAC,EAAE,CAAC,CAAC;IAE3B,IAAI,SAAS,CAAC,KAAK,KAAK,WAAW,EAAE,CAAC;QAClC,OAAO,0BAA0B,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IAC1D,CAAC;IAED,IAAI,SAAS,CAAC,KAAK,KAAK,SAAS,EAAE,CAAC;QAChC,OAAO,wBAAwB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;IACxD,CAAC;IAED,OAAO,qBAAqB,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;AACrD,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,SAAwB;IACpD,OAAO,iBAAiB,CAAC,SAAS,EAAE,CAAC,CAAC,KAAK,IAAI,CAAC;AACpD,CAAC"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import "../compare/comparison.js";
|
|
2
|
-
export function isPlainObject(value) {
|
|
3
|
-
if (typeof value !== 'object' || value === null || Array.isArray(value)) {
|
|
4
|
-
return false;
|
|
5
|
-
}
|
|
6
|
-
const prototype = Object.getPrototypeOf(value);
|
|
7
|
-
return prototype === Object.prototype || prototype === null;
|
|
8
|
-
}
|
|
9
|
-
export function ownKeys(value) {
|
|
10
|
-
return Reflect.ownKeys(value);
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
//# sourceMappingURL=partial-matching.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"partial-matching.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/partial-matching.ts"],"names":[],"mappings":"AAAA,OAAkC,0BAA0B,CAAC;AAE7D,MAAM,UAAU,aAAa,CAAC,KAAc;IACxC,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,KAAK,CAAC,OAAO,CAAC,KAAK,CAAC,EAAE,CAAC;QACtE,OAAO,KAAK,CAAC;IACjB,CAAC;IAED,MAAM,SAAS,GAAY,MAAM,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC;IAExD,OAAO,SAAS,KAAK,MAAM,CAAC,SAAS,IAAI,SAAS,KAAK,IAAI,CAAC;AAChE,CAAC;AAED,MAAM,UAAU,OAAO,CAAC,KAA6C;IACjE,OAAO,OAAO,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC;AAClC,CAAC"}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { AsyncLocalStorage } from 'node:async_hooks';
|
|
2
|
-
const assertionSourceLocationStorageKey = Symbol.for('@overkill-dev/assertion-source-location-storage');
|
|
3
|
-
function isAssertionSourceLocationStorage(value) {
|
|
4
|
-
return value instanceof AsyncLocalStorage;
|
|
5
|
-
}
|
|
6
|
-
function assertionSourceLocationStorage() {
|
|
7
|
-
const existing = Reflect.get(globalThis, assertionSourceLocationStorageKey);
|
|
8
|
-
if (isAssertionSourceLocationStorage(existing)) {
|
|
9
|
-
return existing;
|
|
10
|
-
}
|
|
11
|
-
const storage = new AsyncLocalStorage();
|
|
12
|
-
Reflect.set(globalThis, assertionSourceLocationStorageKey, storage);
|
|
13
|
-
return storage;
|
|
14
|
-
}
|
|
15
|
-
function readActiveSourceLocations() {
|
|
16
|
-
return assertionSourceLocationStorage().getStore() ?? [];
|
|
17
|
-
}
|
|
18
|
-
function assertNonEmptySourceLocations(sourceLocations) {
|
|
19
|
-
if (sourceLocations.length === 0) {
|
|
20
|
-
throw new TypeError('Assertion source location forwarding requires at least one location.');
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
export function sourceLocationsWithCurrentForwarding(captureLocation) {
|
|
24
|
-
const sourceLocations = [
|
|
25
|
-
...readActiveSourceLocations(),
|
|
26
|
-
captureLocation()
|
|
27
|
-
];
|
|
28
|
-
assertNonEmptySourceLocations(sourceLocations);
|
|
29
|
-
return sourceLocations;
|
|
30
|
-
}
|
|
31
|
-
|
|
32
|
-
//# sourceMappingURL=source-location-forwarding.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-location-forwarding.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/source-location-forwarding.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAMrD,MAAM,iCAAiC,GAAG,MAAM,CAAC,GAAG,CAAC,iDAAiD,CAAC,CAAC;AAExG,SAAS,gCAAgC,CACrC,KAAc;IAEd,OAAO,KAAK,YAAY,iBAAiB,CAAC;AAC9C,CAAC;AAED,SAAS,8BAA8B;IACnC,MAAM,QAAQ,GAAY,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,iCAAiC,CAAC,CAAC;IAErF,IAAI,gCAAgC,CAAC,QAAQ,CAAC,EAAE,CAAC;QAC7C,OAAO,QAAQ,CAAC;IACpB,CAAC;IAED,MAAM,OAAO,GAAG,IAAI,iBAAiB,EAAuC,CAAC;IAC7E,OAAO,CAAC,GAAG,CAAC,UAAU,EAAE,iCAAiC,EAAE,OAAO,CAAC,CAAC;IAEpE,OAAO,OAAO,CAAC;AACnB,CAAC;AAED,SAAS,yBAAyB;IAC9B,OAAO,8BAA8B,EAAE,CAAC,QAAQ,EAAE,IAAI,EAAE,CAAC;AAC7D,CAAC;AAED,SAAS,6BAA6B,CAClC,eAAoD;IAEpD,IAAI,eAAe,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QAC/B,MAAM,IAAI,SAAS,CAAC,sEAAsE,CAAC,CAAC;IAChG,CAAC;AACL,CAAC;AAED,MAAM,UAAU,oCAAoC,CAChD,eAA+C;IAE/C,MAAM,eAAe,GAAG;QACpB,GAAG,yBAAyB,EAAE;QAC9B,eAAe,EAAE;KACpB,CAAC;IAEF,6BAA6B,CAAC,eAAe,CAAC,CAAC;IAE/C,OAAO,eAAe,CAAC;AAC3B,CAAC"}
|
|
@@ -1,119 +0,0 @@
|
|
|
1
|
-
import { fileURLToPath } from 'node:url';
|
|
2
|
-
export const unknownSourceLocation = {
|
|
3
|
-
kind: 'unknown'
|
|
4
|
-
};
|
|
5
|
-
const stackFramePattern = /^\s*at (?:.+? \()?(?<file>.+):(?<line>\d+):(?<column>\d+)\)?$/u;
|
|
6
|
-
const internalModulePatterns = [
|
|
7
|
-
/\/property\/property-authoring\.[cm]?[jt]s$/u,
|
|
8
|
-
/\/authoring\/test-node-authoring\.[cm]?[jt]s$/u,
|
|
9
|
-
/\/assertion-protocol\/source-location\.[cm]?[jt]s$/u,
|
|
10
|
-
/\/assertion-protocol\/source-location-forwarding\.[cm]?[jt]s$/u,
|
|
11
|
-
/\/assertion-protocol\/assertion-reference\.[cm]?[jt]s$/u,
|
|
12
|
-
/\/engine\/assertion-facade\.[cm]?[jt]s$/u,
|
|
13
|
-
/\/engine\/custom-assertion-recording\.[cm]?[jt]s$/u,
|
|
14
|
-
/\/engine\/require-assertion-facade\.[cm]?[jt]s$/u,
|
|
15
|
-
/\/packages\/test\/authoring-source-locations\.[cm]?[jt]s$/u,
|
|
16
|
-
/\/packages\/test\/table-authoring\.[cm]?[jt]s$/u,
|
|
17
|
-
/\/packages\/test\/test-authoring\.[cm]?[jt]s$/u,
|
|
18
|
-
/\/packages\/test\/test\.entry-point\.[cm]?[jt]s$/u
|
|
19
|
-
];
|
|
20
|
-
function normalizeStackFile(file) {
|
|
21
|
-
if (!file.startsWith('file:')) {
|
|
22
|
-
return file;
|
|
23
|
-
}
|
|
24
|
-
try {
|
|
25
|
-
return fileURLToPath(file);
|
|
26
|
-
}
|
|
27
|
-
catch {
|
|
28
|
-
return file;
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
function stackFileIsInternal(file) {
|
|
32
|
-
if (file.length === 0 || file.startsWith('node:')) {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
const normalizedFile = file.replaceAll('\\', '/');
|
|
36
|
-
return internalModulePatterns.some(function patternMatches(pattern) {
|
|
37
|
-
return pattern.test(normalizedFile);
|
|
38
|
-
});
|
|
39
|
-
}
|
|
40
|
-
function knownSourceLocation(file, line, column) {
|
|
41
|
-
if (file.length === 0) {
|
|
42
|
-
throw new TypeError('Known source location file must not be empty.');
|
|
43
|
-
}
|
|
44
|
-
return { column, file, kind: 'known', line };
|
|
45
|
-
}
|
|
46
|
-
export function ensureValidSourceLocation(location) {
|
|
47
|
-
if (location.kind === 'known' && location.file.length === 0) {
|
|
48
|
-
throw new TypeError('Known source location file must not be empty.');
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
|
-
export function ensureKnownSourceLocation(location) {
|
|
52
|
-
ensureValidSourceLocation(location);
|
|
53
|
-
return location.kind === 'known' ? location : null;
|
|
54
|
-
}
|
|
55
|
-
function sourceLocationFromStackGroups(groups) {
|
|
56
|
-
const file = normalizeStackFile(groups.file);
|
|
57
|
-
return stackFileIsInternal(file)
|
|
58
|
-
? null
|
|
59
|
-
: knownSourceLocation(file, Number(groups.line), Number(groups.column));
|
|
60
|
-
}
|
|
61
|
-
function isStackFrameGroups(groups) {
|
|
62
|
-
return groups.file !== undefined && groups.line !== undefined && groups.column !== undefined;
|
|
63
|
-
}
|
|
64
|
-
function sourceLocationFromStackLine(line) {
|
|
65
|
-
const groups = stackFramePattern.exec(line)?.groups;
|
|
66
|
-
return groups !== undefined && isStackFrameGroups(groups)
|
|
67
|
-
? sourceLocationFromStackGroups(groups)
|
|
68
|
-
: null;
|
|
69
|
-
}
|
|
70
|
-
export function sourceLocationFromStack(stack) {
|
|
71
|
-
return stack.split('\n').reduce(function findLocation(found, line) {
|
|
72
|
-
return found ?? sourceLocationFromStackLine(line);
|
|
73
|
-
}, null) ?? unknownSourceLocation;
|
|
74
|
-
}
|
|
75
|
-
export function captureSourceLocation() {
|
|
76
|
-
const stackCarrier = new Error('Overkill source location');
|
|
77
|
-
let location = null;
|
|
78
|
-
return function capturedSourceLocation() {
|
|
79
|
-
if (location === null) {
|
|
80
|
-
location = sourceLocationFromStack(stackCarrier.stack ?? '');
|
|
81
|
-
}
|
|
82
|
-
return location;
|
|
83
|
-
};
|
|
84
|
-
}
|
|
85
|
-
function resolveProviderSourceLocation(location) {
|
|
86
|
-
try {
|
|
87
|
-
return location();
|
|
88
|
-
}
|
|
89
|
-
catch {
|
|
90
|
-
return null;
|
|
91
|
-
}
|
|
92
|
-
}
|
|
93
|
-
export function resolveSourceLocation(location) {
|
|
94
|
-
if (typeof location !== 'function') {
|
|
95
|
-
ensureValidSourceLocation(location);
|
|
96
|
-
return location;
|
|
97
|
-
}
|
|
98
|
-
const resolvedLocation = resolveProviderSourceLocation(location);
|
|
99
|
-
if (resolvedLocation === null) {
|
|
100
|
-
return unknownSourceLocation;
|
|
101
|
-
}
|
|
102
|
-
ensureValidSourceLocation(resolvedLocation);
|
|
103
|
-
return resolvedLocation;
|
|
104
|
-
}
|
|
105
|
-
export function resolveSourceLocations(locations) {
|
|
106
|
-
const [first, ...remaining] = locations;
|
|
107
|
-
return [resolveSourceLocation(first), ...remaining.map(resolveSourceLocation)];
|
|
108
|
-
}
|
|
109
|
-
export function ensureDefinitionLocations(definitionLocations) {
|
|
110
|
-
if (definitionLocations.length === 0) {
|
|
111
|
-
throw new TypeError('Test node definition locations must contain at least one location.');
|
|
112
|
-
}
|
|
113
|
-
for (const location of definitionLocations) {
|
|
114
|
-
if (typeof location !== 'function') {
|
|
115
|
-
ensureValidSourceLocation(location);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
//# sourceMappingURL=source-location.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"source-location.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/source-location.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AASzC,MAAM,CAAC,MAAM,qBAAqB,GAAmB;IACjD,IAAI,EAAE,SAAS;CAClB,CAAC;AAEF,MAAM,iBAAiB,GAAG,gEAAgE,CAAC;AAE3F,MAAM,sBAAsB,GAAG;IAC3B,8CAA8C;IAC9C,gDAAgD;IAChD,qDAAqD;IACrD,gEAAgE;IAChE,yDAAyD;IACzD,0CAA0C;IAC1C,oDAAoD;IACpD,kDAAkD;IAClD,4DAA4D;IAC5D,iDAAiD;IACjD,gDAAgD;IAChD,mDAAmD;CAC7C,CAAC;AAEX,SAAS,kBAAkB,CAAC,IAAY;IACpC,IAAI,CAAC,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAC5B,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,IAAI,CAAC;QACD,OAAO,aAAa,CAAC,IAAI,CAAC,CAAC;IAC/B,CAAC;IAAC,MAAM,CAAC;QACL,OAAO,IAAI,CAAC;IAChB,CAAC;AACL,CAAC;AAED,SAAS,mBAAmB,CAAC,IAAY;IACrC,IAAI,IAAI,CAAC,MAAM,KAAK,CAAC,IAAI,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,EAAE,CAAC;QAChD,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,MAAM,cAAc,GAAG,IAAI,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,CAAC,CAAC;IAElD,OAAO,sBAAsB,CAAC,IAAI,CAAC,SAAS,cAAc,CAAC,OAAO;QAC9D,OAAO,OAAO,CAAC,IAAI,CAAC,cAAc,CAAC,CAAC;IACxC,CAAC,CAAC,CAAC;AACP,CAAC;AAQD,SAAS,mBAAmB,CAAC,IAAY,EAAE,IAAmB,EAAE,MAAqB;IACjF,IAAI,IAAI,CAAC,MAAM,K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;AAC5B,CAAC;AAED,MAAM,UAAU,sBAAsB,CAClC,SAA0D;IAE1D,MAAM,CAAE,KAAK,EAAE,GAAG,SAAS,CAAE,GAAG,SAAS,CAAC;IAC1C,OAAO,CAAE,qBAAqB,CAAC,KAAK,CAAC,EAAE,GAAG,SAAS,CAAC,GAAG,CAAC,qBAAqB,CAAC,CAAE,CAAC;AACrF,CAAC;AAED,MAAM,UAAU,yBAAyB,CAAC,mBAAwD;IAC9F,IAAI,mBAAmB,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACnC,MAAM,IAAI,SAAS,CAAC,oEAAoE,CAAC,CAAC;IAC9F,CAAC;IAED,KAAK,MAAM,QAAQ,IAAI,mBAAmB,EAAE,CAAC;QACzC,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjC,yBAAyB,CAAC,QAAQ,CAAC,CAAC;QACxC,CAAC;IACL,CAAC;AACL,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-error-record.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/thrown-error-record.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,iBAAiB,GAAG;IAC5B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,KAAK,EAAE,MAAM,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,MAAM,EAAE,OAAO,CAAC;CAC5B,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export function createThrownErrorRecord(thrown) {
|
|
2
|
-
if (thrown instanceof Error) {
|
|
3
|
-
return {
|
|
4
|
-
message: thrown.message,
|
|
5
|
-
name: thrown.name,
|
|
6
|
-
stack: thrown.stack ?? null,
|
|
7
|
-
thrown
|
|
8
|
-
};
|
|
9
|
-
}
|
|
10
|
-
return {
|
|
11
|
-
message: 'Test body threw a non-error value.',
|
|
12
|
-
name: typeof thrown,
|
|
13
|
-
stack: null,
|
|
14
|
-
thrown
|
|
15
|
-
};
|
|
16
|
-
}
|
|
17
|
-
//# sourceMappingURL=thrown-error-record.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-error-record.js","sourceRoot":"","sources":["../../../../source/assertion-protocol/thrown-error-record.ts"],"names":[],"mappings":"AAOA,MAAM,UAAU,uBAAuB,CAAC,MAAe;IACnD,IAAI,MAAM,YAAY,KAAK,EAAE,CAAC;QAC1B,OAAO;YACH,OAAO,EAAE,MAAM,CAAC,OAAO;YACvB,IAAI,EAAE,MAAM,CAAC,IAAI;YACjB,KAAK,EAAE,MAAM,CAAC,KAAK,IAAI,IAAI;YAC3B,MAAM;SACT,CAAC;IACN,CAAC;IAED,OAAO;QACH,OAAO,EAAE,oCAAoC;QAC7C,IAAI,EAAE,OAAO,MAAM;QACnB,KAAK,EAAE,IAAI;QACX,MAAM;KACT,CAAC;AACN,CAAC"}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
import type { InstanceConstructor } from './assertion-node-shape.ts';
|
|
2
|
-
type OptionalFields<Shape, RequiredKey extends keyof Shape> = {
|
|
3
|
-
readonly [ShapeKey in keyof Shape as ShapeKey extends RequiredKey ? never : ShapeKey]?: Shape[ShapeKey];
|
|
4
|
-
};
|
|
5
|
-
type RequiredField<Shape, RequiredKey extends keyof Shape> = {
|
|
6
|
-
readonly [ShapeKey in RequiredKey]-?: Shape[ShapeKey];
|
|
7
|
-
};
|
|
8
|
-
type RequireAtLeastOne<Shape, Key extends keyof Shape = keyof Shape> = {
|
|
9
|
-
readonly [RequiredKey in Key]: OptionalFields<Shape, RequiredKey> & RequiredField<Shape, RequiredKey>;
|
|
10
|
-
}[Key];
|
|
11
|
-
type ErrorConstructor = InstanceConstructor & (abstract new (...args: never[]) => Error);
|
|
12
|
-
type ErrorMatcherFields = {
|
|
13
|
-
readonly cause: ThrownMatcher;
|
|
14
|
-
readonly code: string;
|
|
15
|
-
readonly message: RegExp | string;
|
|
16
|
-
readonly name: string;
|
|
17
|
-
readonly type: ErrorConstructor;
|
|
18
|
-
};
|
|
19
|
-
export type ExactThrownMatcher = {
|
|
20
|
-
readonly cause?: never;
|
|
21
|
-
readonly code?: never;
|
|
22
|
-
readonly exact: unknown;
|
|
23
|
-
readonly message?: never;
|
|
24
|
-
readonly name?: never;
|
|
25
|
-
readonly type?: never;
|
|
26
|
-
};
|
|
27
|
-
export type ErrorMatcher = RequireAtLeastOne<ErrorMatcherFields> & {
|
|
28
|
-
readonly exact?: never;
|
|
29
|
-
};
|
|
30
|
-
export type ThrownMatcher = ErrorMatcher | ExactThrownMatcher;
|
|
31
|
-
type NonPromise<Body extends () => unknown> = ReturnType<Body> extends PromiseLike<unknown> ? never : Body;
|
|
32
|
-
export type SynchronousCallback<Body extends () => unknown> = [ReturnType<Body>] extends [never] ? Body : NonPromise<Body>;
|
|
33
|
-
export {};
|
|
34
|
-
//# sourceMappingURL=thrown-matcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"thrown-matcher.d.ts","sourceRoot":"","sources":["../../../../source/assertion-protocol/thrown-matcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAMR,qBAGH,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,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