@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
package/engine/execution.js
DELETED
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
import { appendRunnerErrors, createRunResult, throwWithCleanupErrors } from "./execution-result.js";
|
|
2
|
-
import { executeTestPlanCasesAndMeasureProcessUsage } from "./execution-test-plan-process-usage.js";
|
|
3
|
-
import { createReporterDisposal } from "./reporter-dispatcher.js";
|
|
4
|
-
import { reportRunnerErrors } from "./runner-error-reporting.js";
|
|
5
|
-
import { withPreparedExecution } from "./execution-preparation.js";
|
|
6
|
-
async function createRunResultBeforeRunEnd(testPlan, options, dependencies, reporterDelivery) {
|
|
7
|
-
const startedAtMicroseconds = Number(dependencies.wallClock.currentMonotonicMicroseconds);
|
|
8
|
-
const startErrors = await reporterDelivery.reportEvent({
|
|
9
|
-
facts: options.runFacts,
|
|
10
|
-
kind: 'run-start',
|
|
11
|
-
root: testPlan.root,
|
|
12
|
-
startedAt: options.startedAt
|
|
13
|
-
});
|
|
14
|
-
const loadRuntimePolicyErrors = await reportRunnerErrors(reporterDelivery, options.runtimePolicy?.takePendingRunErrors() ?? []);
|
|
15
|
-
const { executedTestPlan, processUsage } = await executeTestPlanCasesAndMeasureProcessUsage(testPlan, options, dependencies, reporterDelivery);
|
|
16
|
-
const finalRuntimePolicyErrors = await reportRunnerErrors(reporterDelivery, options.runtimePolicy?.takeRunErrors() ?? []);
|
|
17
|
-
const finalGlobalErrorObserverErrors = await reportRunnerErrors(reporterDelivery, dependencies.globalErrorObserver.takeErrors());
|
|
18
|
-
const reporterErrors = [
|
|
19
|
-
...startErrors,
|
|
20
|
-
...loadRuntimePolicyErrors,
|
|
21
|
-
...executedTestPlan.reporterErrors,
|
|
22
|
-
...finalRuntimePolicyErrors,
|
|
23
|
-
...finalGlobalErrorObserverErrors
|
|
24
|
-
];
|
|
25
|
-
return createRunResult(testPlan, executedTestPlan.perTest, reporterErrors, {
|
|
26
|
-
completedAtMicroseconds: Number(dependencies.wallClock.currentMonotonicMicroseconds),
|
|
27
|
-
planStatus: 'planned',
|
|
28
|
-
processUsage,
|
|
29
|
-
startedAtMicroseconds,
|
|
30
|
-
testExecutionWallTimeMicroseconds: executedTestPlan.testExecutionWallTimeMicroseconds
|
|
31
|
-
});
|
|
32
|
-
}
|
|
33
|
-
async function executeRun(input) {
|
|
34
|
-
const result = await createRunResultBeforeRunEnd(input.testPlan, input.options, input.context.dependencies, input.context.reporterDelivery);
|
|
35
|
-
input.context.dependencies.globalErrorObserver.stop();
|
|
36
|
-
input.context.dependencies.asyncLeakMonitor.stop();
|
|
37
|
-
const finalizedResult = await input.options.finalizeResult(result);
|
|
38
|
-
const runEndErrors = await input.context.reporterDelivery.reportEvent({
|
|
39
|
-
kind: 'run-end',
|
|
40
|
-
result: finalizedResult
|
|
41
|
-
});
|
|
42
|
-
const resultForFinalReporting = appendRunnerErrors(finalizedResult, runEndErrors);
|
|
43
|
-
const finalReporterErrors = await input.context.reporterDelivery.reportResult(resultForFinalReporting);
|
|
44
|
-
const disposeErrors = await input.reporterDisposal.disposeOnce();
|
|
45
|
-
return appendRunnerErrors(resultForFinalReporting, [...finalReporterErrors, ...disposeErrors]);
|
|
46
|
-
}
|
|
47
|
-
async function executeWithReporterDelivery(prepared, testPlan) {
|
|
48
|
-
const reporterDelivery = await prepared.dependencies.reporterDispatcher.createDelivery(prepared.options.reporters, prepared.options.outputRenderer);
|
|
49
|
-
const reporterDisposal = createReporterDisposal(reporterDelivery.disposeReporters);
|
|
50
|
-
try {
|
|
51
|
-
return await prepared.globalErrorObserver.runBoundary(async function runObservedExecution() {
|
|
52
|
-
return await executeRun({
|
|
53
|
-
context: { dependencies: prepared.dependencies, reporterDelivery },
|
|
54
|
-
options: prepared.options,
|
|
55
|
-
reporterDisposal,
|
|
56
|
-
testPlan
|
|
57
|
-
});
|
|
58
|
-
});
|
|
59
|
-
}
|
|
60
|
-
catch (error) {
|
|
61
|
-
return await throwWithCleanupErrors(error, reporterDisposal.disposeOnce);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
export function createExecute(dependencies) {
|
|
65
|
-
return async function execute(testPlan, options) {
|
|
66
|
-
return await withPreparedExecution(dependencies, options, testPlan, async function executePrepared(prepared) {
|
|
67
|
-
return await executeWithReporterDelivery(prepared, testPlan);
|
|
68
|
-
});
|
|
69
|
-
};
|
|
70
|
-
}
|
|
71
|
-
//# sourceMappingURL=execution.js.map
|
package/engine/execution.js.map
DELETED
|
@@ -1 +0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@ -1,31 +0,0 @@
|
|
|
1
|
-
export type TestId = {
|
|
2
|
-
readonly file: string | null;
|
|
3
|
-
readonly suite: readonly string[];
|
|
4
|
-
readonly title: string;
|
|
5
|
-
};
|
|
6
|
-
export type CaseId = TestId & {
|
|
7
|
-
readonly params: string | null;
|
|
8
|
-
};
|
|
9
|
-
export type RuntimeDimensions = Readonly<Record<string, string>>;
|
|
10
|
-
export type RuntimeScenarioBindings = Readonly<Record<string, string>>;
|
|
11
|
-
export type RuntimeId = {
|
|
12
|
-
readonly dimensions: RuntimeDimensions;
|
|
13
|
-
readonly name: string;
|
|
14
|
-
readonly scenarios: RuntimeScenarioBindings;
|
|
15
|
-
readonly variantId: string | null;
|
|
16
|
-
};
|
|
17
|
-
export type WorkloadId = {
|
|
18
|
-
readonly name: string;
|
|
19
|
-
readonly params: Readonly<Record<string, string>>;
|
|
20
|
-
};
|
|
21
|
-
export type WorkId = {
|
|
22
|
-
readonly case: CaseId;
|
|
23
|
-
readonly runtimes: readonly RuntimeId[];
|
|
24
|
-
readonly workload: WorkloadId | null;
|
|
25
|
-
};
|
|
26
|
-
export declare function workIdentityKey(work: WorkId): string;
|
|
27
|
-
export declare function formatCaseId(caseId: CaseId): string;
|
|
28
|
-
export type AttemptId = {
|
|
29
|
-
readonly index: number;
|
|
30
|
-
};
|
|
31
|
-
//# sourceMappingURL=identity.d.ts.map
|
package/engine/identity.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity.d.ts","sourceRoot":"","sources":["../../../../source/engine/identity.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,MAAM,GAAG;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,GAAG,IAAI,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,SAAS,MAAM,EAAE,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG,MAAM,GAAG;IAC1B,Q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
|
-
};
|
|
8
|
-
}
|
|
9
|
-
export function caseIdentityKey(caseId) {
|
|
10
|
-
return JSON.stringify([caseId.file, caseId.suite, caseId.title, caseId.params]);
|
|
11
|
-
}
|
|
12
|
-
function orderedRecordEntries(record) {
|
|
13
|
-
return Object.entries(record).toSorted(function compareKeys([left], [right]) {
|
|
14
|
-
return left.localeCompare(right);
|
|
15
|
-
});
|
|
16
|
-
}
|
|
17
|
-
function runtimeIdentityShape(runtime) {
|
|
18
|
-
return [
|
|
19
|
-
runtime.name,
|
|
20
|
-
runtime.variantId,
|
|
21
|
-
orderedRecordEntries(runtime.dimensions),
|
|
22
|
-
orderedRecordEntries(runtime.scenarios)
|
|
23
|
-
];
|
|
24
|
-
}
|
|
25
|
-
function runtimeIdentitiesShape(runtimes) {
|
|
26
|
-
return runtimes.map(runtimeIdentityShape);
|
|
27
|
-
}
|
|
28
|
-
function workloadIdentityShape(workload) {
|
|
29
|
-
if (workload === null) {
|
|
30
|
-
return null;
|
|
31
|
-
}
|
|
32
|
-
return [
|
|
33
|
-
workload.name,
|
|
34
|
-
orderedRecordEntries(workload.params)
|
|
35
|
-
];
|
|
36
|
-
}
|
|
37
|
-
export function runtimeIdentityKey(runtime) {
|
|
38
|
-
return JSON.stringify(runtimeIdentityShape(runtime));
|
|
39
|
-
}
|
|
40
|
-
export function runtimeIdentitiesKey(runtimes) {
|
|
41
|
-
return JSON.stringify(runtimeIdentitiesShape(runtimes));
|
|
42
|
-
}
|
|
43
|
-
export function workIdentityKey(work) {
|
|
44
|
-
if (work.runtimes.length === 0 && work.workload === null) {
|
|
45
|
-
return caseIdentityKey(work.case);
|
|
46
|
-
}
|
|
47
|
-
return JSON.stringify([
|
|
48
|
-
caseIdentityKey(work.case),
|
|
49
|
-
runtimeIdentitiesShape(work.runtimes),
|
|
50
|
-
workloadIdentityShape(work.workload)
|
|
51
|
-
]);
|
|
52
|
-
}
|
|
53
|
-
export function createDefaultWorkId(testCase) {
|
|
54
|
-
return {
|
|
55
|
-
case: testCase,
|
|
56
|
-
runtimes: [],
|
|
57
|
-
workload: null
|
|
58
|
-
};
|
|
59
|
-
}
|
|
60
|
-
export function formatCaseId(caseId) {
|
|
61
|
-
const titlePath = [...caseId.suite, caseId.title].join(' > ');
|
|
62
|
-
const originPath = caseId.file === null ? titlePath : `${caseId.file}: ${titlePath}`;
|
|
63
|
-
if (caseId.params === null) {
|
|
64
|
-
return originPath;
|
|
65
|
-
}
|
|
66
|
-
return `${originPath} [${caseId.params}]`;
|
|
67
|
-
}
|
|
68
|
-
//# sourceMappingURL=identity.js.map
|
package/engine/identity.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"identity.js","sourceRoot":"","sources":["../../../../source/engine/identity.ts"],"names":[],"mappings":"AA+BA,MAAM,UAAU,YAAY,CACxB,IAAmB,EACnB,KAAwB,EACxB,KAAa,EACb,MAAqB;IAErB,OAAO;QACH,IAAI;QACJ,MAAM;QACN,KAAK;QACL,KAAK;KACR,CAAC;AACN,CAAC;AAED,MAAM,UAAU,eAAe,CAAC,MAAc;IAC1C,OAAO,IAAI,CAAC,SAAS,CAAC,CAAE,MAAM,CAAC,IAAI,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,MAAM,CAAE,CAAC,CAAC;AACtF,CAAC;AAED,SAAS,oBAAoB,CAAC,MAAwC;IAClE,OAAO,MAAM,CAAC,OAAO,CAAC,MAAM,CAAC,CAAC,QAAQ,CAAC,SAAS,WAAW,CAAC,CAAE,IAAI,CAAE,EAAE,CAAE,KAAK,CAAE;QAC3E,OAAO,IAAI,CAAC,aAAa,CAAC,KAAK,CAAC,CAAC;IACrC,CAAC,CAAC,CAAC;AACP,CAAC;AAED,SAAS,oBAAoB,CAAC,OAAkB;IAC5C,OAAO;QACH,OAAO,CAAC,IAAI;QACZ,OAAO,CAAC,SAAS;QACjB,oBAAoB,CAAC,OAAO,CAAC,UAAU,CAAC;QACxC,oBAA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S,GAAG,CAAE,GAAG,MAAM,CAAC,KAAK,EAAE,MAAM,CAAC,KAAK,CAAE,CAAC,IAAI,CAAC,KAAK,CAAC,CAAC;IAChE,MAAM,UAAU,GAAG,MAAM,CAAC,IAAI,KAAK,IAAI,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,GAAG,MAAM,CAAC,IAAI,KAAK,SAAS,EAAE,CAAC;IAErF,IAAI,MAAM,CAAC,MAAM,KAAK,IAAI,EAAE,CAAC;QACzB,OAAO,UAAU,CAAC;IACtB,CAAC;IAED,OAAO,GAAG,UAAU,KAAK,MAAM,CAAC,MAAM,GAAG,CAAC;AAC9C,CAAC"}
|
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { currentAttemptIdentity, observingInfrastructure } from "./execution-observation.js";
|
|
2
|
-
const unreferencedResourceTypes = new Set(['PROMISE', 'TickObject', 'Microtask']);
|
|
3
|
-
const resources = new Map();
|
|
4
|
-
function isReferencedTimer(value) {
|
|
5
|
-
return typeof value === 'object' && value !== null && typeof Reflect.get(value, 'hasRef') === 'function';
|
|
6
|
-
}
|
|
7
|
-
function referencedTimer(reference) {
|
|
8
|
-
return reference.deref()?.hasRef() === true;
|
|
9
|
-
}
|
|
10
|
-
export function recordNativeResource(id, type, resource) {
|
|
11
|
-
if (unreferencedResourceTypes.has(type)) {
|
|
12
|
-
return;
|
|
13
|
-
}
|
|
14
|
-
if (type === 'Timeout' && isReferencedTimer(resource)) {
|
|
15
|
-
const reference = new WeakRef(resource);
|
|
16
|
-
resources.set(id, {
|
|
17
|
-
type,
|
|
18
|
-
ownership: observingInfrastructure()
|
|
19
|
-
? { kind: 'infrastructure', confirmed: true }
|
|
20
|
-
: { kind: 'test', attempt: currentAttemptIdentity() },
|
|
21
|
-
active() {
|
|
22
|
-
return referencedTimer(reference);
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
return;
|
|
26
|
-
}
|
|
27
|
-
resources.set(id, {
|
|
28
|
-
type,
|
|
29
|
-
ownership: observingInfrastructure()
|
|
30
|
-
? { kind: 'infrastructure', confirmed: false }
|
|
31
|
-
: { kind: 'test', attempt: currentAttemptIdentity() },
|
|
32
|
-
active() {
|
|
33
|
-
return true;
|
|
34
|
-
}
|
|
35
|
-
});
|
|
36
|
-
}
|
|
37
|
-
export function forgetNativeResource(id) {
|
|
38
|
-
resources.delete(id);
|
|
39
|
-
}
|
|
40
|
-
export function clearNativeResources() {
|
|
41
|
-
resources.clear();
|
|
42
|
-
}
|
|
43
|
-
function resourceAttribution(resource, attempt) {
|
|
44
|
-
if (resource.ownership.kind === 'infrastructure') {
|
|
45
|
-
return resource.ownership.confirmed ? 'active' : 'uncertain';
|
|
46
|
-
}
|
|
47
|
-
return attempt === null || resource.ownership.attempt !== attempt ? 'uncertain' : null;
|
|
48
|
-
}
|
|
49
|
-
export function observeNativeResources() {
|
|
50
|
-
const before = new Set(resources.keys());
|
|
51
|
-
const attempt = currentAttemptIdentity();
|
|
52
|
-
return function nativeResourceSnapshot() {
|
|
53
|
-
const active = [];
|
|
54
|
-
const uncertain = [];
|
|
55
|
-
const allocated = Array.from(resources).filter(function newActiveResource([id, resource]) {
|
|
56
|
-
return !before.has(id) && resource.active();
|
|
57
|
-
});
|
|
58
|
-
for (const [, resource] of allocated) {
|
|
59
|
-
const attribution = resourceAttribution(resource, attempt);
|
|
60
|
-
if (attribution !== null) {
|
|
61
|
-
(attribution === 'active' ? active : uncertain).push(resource.type);
|
|
62
|
-
}
|
|
63
|
-
}
|
|
64
|
-
return { active, uncertain };
|
|
65
|
-
};
|
|
66
|
-
}
|
|
67
|
-
export function sameNativeResourceType(resourceType, provider) {
|
|
68
|
-
return resourceType.replace('Socket', '').toUpperCase() === provider.toUpperCase();
|
|
69
|
-
}
|
|
70
|
-
//# sourceMappingURL=native-resource-observation.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"native-resource-observation.js","sourceRoot":"","sources":["../../../../source/engine/native-resource-observation.ts"],"names":[],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AAQ,CAAC,MAAM,EAAE,CAAC;QAChD,CAAC,CAAC,CAAC;QACH,KAAK,MAAM,CAAE,AAAD,EAAG,QAAQ,CAAE,IAAI,SAAS,EAAE,CAAC;YACrC,MAAM,WAAW,GAAG,mBAAmB,CAAC,QAAQ,EAAE,OAAO,CAAC,CAAC;YAC3D,IAAI,WAAW,KAAK,IAAI,EAAE,CAAC;gBACvB,CAAC,WAAW,KAAK,QAAQ,CAAC,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC,SAAS,CAAC,CAAC,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,CAAC;YACxE,CAAC;QACL,CAAC;QACD,OAAO,EAAE,MAAM,EAAE,SAAS,EAAE,CAAC;IACjC,CAAC,CAAC;AACN,CAAC;AAED,MAAM,UAAU,sBAAsB,CAAC,YAAoB,EAAE,QAAgB;IACzE,OAAO,YAAY,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,WAAW,EAAE,KAAK,QAAQ,CAAC,WAAW,EAAE,CAAC;AACvF,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { AssertionError } from 'node:assert';
|
|
2
|
-
import { resolveSourceLocation, sourceLocationFromStack } from "../assertion-protocol/source-location.js";
|
|
3
|
-
import { createThrownErrorRecord } from "../assertion-protocol/thrown-error-record.js";
|
|
4
|
-
function assertionErrorSourceLocation(error, fallback) {
|
|
5
|
-
if (error instanceof Error && typeof error.stack === 'string') {
|
|
6
|
-
const location = sourceLocationFromStack(error.stack);
|
|
7
|
-
return location.kind === 'known' ? location : fallback;
|
|
8
|
-
}
|
|
9
|
-
return fallback;
|
|
10
|
-
}
|
|
11
|
-
export function isNodeAssertionError(error) {
|
|
12
|
-
if (error instanceof AssertionError) {
|
|
13
|
-
return true;
|
|
14
|
-
}
|
|
15
|
-
if (typeof error !== 'object' || error === null || Array.isArray(error)) {
|
|
16
|
-
return false;
|
|
17
|
-
}
|
|
18
|
-
return Reflect.get(error, 'name') === 'AssertionError' && Reflect.get(error, 'code') === 'ERR_ASSERTION';
|
|
19
|
-
}
|
|
20
|
-
export function nodeAssertionErrorFailure(error, fallbackLocation) {
|
|
21
|
-
const sourceLocation = assertionErrorSourceLocation(error, resolveSourceLocation(fallbackLocation));
|
|
22
|
-
const errorRecord = createThrownErrorRecord(error);
|
|
23
|
-
const child = {
|
|
24
|
-
check: 'foreign',
|
|
25
|
-
label: 'node:assert',
|
|
26
|
-
message: null,
|
|
27
|
-
result: {
|
|
28
|
-
error: errorRecord,
|
|
29
|
-
passed: false
|
|
30
|
-
},
|
|
31
|
-
source: 'assert',
|
|
32
|
-
sourceLocations: [sourceLocation],
|
|
33
|
-
summary: `node:assert: ${errorRecord.message}`
|
|
34
|
-
};
|
|
35
|
-
return {
|
|
36
|
-
actual: 'thrown AssertionError',
|
|
37
|
-
check: 'composite',
|
|
38
|
-
children: [child],
|
|
39
|
-
expected: 'node:assert pass',
|
|
40
|
-
message: null,
|
|
41
|
-
name: 'node:assert',
|
|
42
|
-
source: 'assert',
|
|
43
|
-
sourceLocations: [sourceLocation],
|
|
44
|
-
summary: child.summary
|
|
45
|
-
};
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=node-assertion-error.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"node-assertion-error.js","sourceRoot":"","sources":["../../../../source/engine/node-assertion-error.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,aAAa,CAAC;AAS7C,OAAO,EACH,qBAAqB,EACrB,uBAAuB,EAC1B,MAAM,0CAA0C,CAAC;AAClD,OAAO,EAAE,uBAAuB,EAAE,MAAM,8CAA8C,CAAC;AAEvF,SAAS,4BAA4B,CAAC,KAAc,EAAE,QAAwB;IAC1E,IAAI,KAAK,YAAY,KAAK,IAAI,OAAO,KAAK,CAAC,KAAK,KAAK,QAAQ,EAAE,CAAC;QAC5D,MAAM,QAAQ,GAAG,uBAAuB,CAAC,KAAK,CAAC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E,IAAI;QACb,IAAI,EAAE,aAAa;QACnB,MAAM,EAAE,QAAQ;QAChB,eAAe,EAAE,CAAE,cAAc,CAAE;QACnC,OAAO,EAAE,KAAK,CAAC,OAAO;KACzB,CAAC;AACN,CAAC"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
const microsecondsPerSecond = 1_000_000;
|
|
2
|
-
export function observedGrowthBytesPerSecond(sample, previousSample) {
|
|
3
|
-
if (previousSample === null) {
|
|
4
|
-
return 0;
|
|
5
|
-
}
|
|
6
|
-
const elapsedMicroseconds = sample.capturedAtMicroseconds - previousSample.capturedAtMicroseconds;
|
|
7
|
-
if (elapsedMicroseconds <= 0) {
|
|
8
|
-
return 0;
|
|
9
|
-
}
|
|
10
|
-
return Math.max(0, (sample.residentSetBytes - previousSample.residentSetBytes) * microsecondsPerSecond / elapsedMicroseconds);
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=process-usage-growth.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-usage-growth.js","sourceRoot":"","sources":["../../../../source/engine/process-usage-growth.ts"],"names":[],"mappings":"AAEA,MAAM,qBAAqB,GAAG,SAAS,CAAC;AAExC,MAAM,UAAU,4BAA4B,CACxC,MAA4B,EAC5B,cAA2C;IAE3C,IAAI,cAAc,KAAK,IAAI,EAAE,CAAC;QAC1B,OAAO,CAAC,CAAC;IACb,CAAC;IAED,MAAM,mBAAmB,GAAG,MAAM,CAAC,sBAAsB,GAAG,cAAc,CAAC,sBAAsB,CAAC;IAElG,IAAI,mBAAmB,IAAI,CAAC,EAAE,CAAC;QAC3B,OAAO,CAAC,CAAC;IACb,CAAC;IAED,OAAO,IAAI,CAAC,GAAG,CACX,CAAC,EACD,CAAC,MAAM,CAAC,gBAAgB,GAAG,cAAc,CAAC,gBAAgB,CAAC,GAAG,qBAAqB,GAAG,mBAAmB,CAC5G,CAAC;AACN,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
export type ProcessUsageSnapshot = {
|
|
2
|
-
readonly activeResourceCount: number;
|
|
3
|
-
readonly activeResourceTypes: readonly string[];
|
|
4
|
-
readonly capturedAtMicroseconds: number;
|
|
5
|
-
readonly javaScriptEngineHeapBytes: number;
|
|
6
|
-
readonly residentSetBytes: number;
|
|
7
|
-
};
|
|
8
|
-
export type RunProcessUsage = {
|
|
9
|
-
readonly activeResourceTypes: readonly string[];
|
|
10
|
-
readonly end: ProcessUsageSnapshot;
|
|
11
|
-
readonly peakActiveResourceCount: number;
|
|
12
|
-
readonly peakJavaScriptEngineHeapBytes: number;
|
|
13
|
-
readonly peakResidentSetBytes: number;
|
|
14
|
-
readonly peakResidentSetGrowthBytesPerSecond: number;
|
|
15
|
-
readonly sampleCount: number;
|
|
16
|
-
readonly start: ProcessUsageSnapshot;
|
|
17
|
-
};
|
|
18
|
-
export type RunProcessUsageTracker = {
|
|
19
|
-
readonly finish: () => RunProcessUsage;
|
|
20
|
-
readonly start: (onSample?: (snapshot: ProcessUsageSnapshot) => void) => void;
|
|
21
|
-
};
|
|
22
|
-
//# sourceMappingURL=process-usage.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"process-usage.d.ts","sourceRoot":"","sources":["../../../../source/engine/process-usage.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,oBAAoB,GAAG;IAC/B,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,sBAAsB,EAAE,MAAM,CAAC;IACxC,QAAQ,CAAC,yBAAyB,EAAE,MAAM,CAAC;IAC3C,QAAQ,CAAC,gBAAgB,EAAE,MAAM,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC1B,QAAQ,CAAC,mBAAmB,EAAE,SAAS,MAAM,EAAE,CAAC;IAChD,QAAQ,CAAC,GAAG,EAAE,oBAAoB,CAAC;IACnC,QAAQ,CAAC,uBAAuB,EAAE,MAAM,CAAC;IACzC,QAAQ,CAAC,6BAA6B,EAAE,MAAM,CAAC;IAC/C,QAAQ,CAAC,oBAAoB,EAAE,MAAM,CAAC;IACtC,QAAQ,CAAC,mCAAmC,EAAE,MAAM,CAAC;IACrD,QAAQ,CAAC,WAAW,EAAE,MAAM,CAAC;IAC7B,QAAQ,CAAC,KAAK,EAAE,oBAAoB,CAAC;CACxC,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,MAAM,EAAE,MAAM,eAAe,CAAC;IACvC,QAAQ,CAAC,KAAK,EAAE,CAAC,QAAQ,CAAC,EAAE,CAAC,QAAQ,EAAE,oBAAoB,KAAK,IAAI,KAAK,IAAI,CAAC;CACjF,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import type { NonEmptyReadonlyArray } from '../assertion-protocol/assertion-node-shape.ts';
|
|
2
|
-
export type PropertyPolicy = {
|
|
3
|
-
readonly version: 1;
|
|
4
|
-
readonly newTrials: number;
|
|
5
|
-
readonly maxSize: number;
|
|
6
|
-
readonly maxDepth: number;
|
|
7
|
-
readonly maxAutomaticEdges: number;
|
|
8
|
-
readonly maxExhaustiveValues: number;
|
|
9
|
-
readonly maxWork: number;
|
|
10
|
-
readonly maxShrinkWork: number;
|
|
11
|
-
readonly maxLabels: number;
|
|
12
|
-
readonly maxRetainedInputs: number;
|
|
13
|
-
};
|
|
14
|
-
export type PropertySettingsDeclaration = {
|
|
15
|
-
readonly kind: 'profile-default';
|
|
16
|
-
} | {
|
|
17
|
-
readonly kind: 'settings';
|
|
18
|
-
readonly settings: unknown;
|
|
19
|
-
};
|
|
20
|
-
export type PropertyBodyDefinition = {
|
|
21
|
-
readonly kind: 'nested' | 'property';
|
|
22
|
-
readonly settingsDeclarations: NonEmptyReadonlyArray<PropertySettingsDeclaration>;
|
|
23
|
-
};
|
|
24
|
-
export type PropertyPolicyResolution = {
|
|
25
|
-
readonly kind: 'resolved';
|
|
26
|
-
readonly policy: PropertyPolicy;
|
|
27
|
-
} | {
|
|
28
|
-
readonly kind: 'unresolved';
|
|
29
|
-
};
|
|
30
|
-
//# sourceMappingURL=property-node.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"property-node.d.ts","sourceRoot":"","sources":["../../../../source/engine/property-node.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACE,qBAAqB,EAAE,MAAM,+CAA+C,CAAC;AAE3F,MAAM,MAAM,cAAc,GAAG;IACzB,QAAQ,CAAC,OAAO,EAAE,CAAC,CAAC;IACpB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;IACnC,QAAQ,CAAC,mBAAmB,EAAE,MAAM,CAAC;IACrC,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,aAAa,EAAE,MAAM,CAAC;IAC/B,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,iBAAiB,EAAE,MAAM,CAAC;CACtC,CAAC;AAEF,MAAM,MAAM,2BAI2B,GAAG;IACtC,QAAQ,CAAC,IAAI,EAAE,iBAAiB,CAAC;CACpC,GAAG;IACA,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;CAC9B,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACjC,QAAQ,CAAC,IAAI,EAAE,QAAQ,GAAG,UAAU,CAAC;IACrC,QAAQ,CAAC,oBAAoB,EAAE,qBAAqB,CAAC,2BAA2B,CAAC,CAAC;CACrF,CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACnC,QAAQ,CAAC,IAAI,EAAE,UAAU,CAAC;IAC1B,QAAQ,CAAC,MAAM,EAAE,cAAc,CAAC;CACnC,GAAG;IACA,QAAQ,CAAC,IAAI,EAAE,YAAY,CAAC;CAC/B,CAAC"}
|
package/engine/property-node.js
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export function isPropertyBodyDefinition(value) {
|
|
2
|
-
if (typeof value !== 'object' || value === null) {
|
|
3
|
-
return false;
|
|
4
|
-
}
|
|
5
|
-
const kind = Reflect.get(value, 'kind');
|
|
6
|
-
const declarations = Reflect.get(value, 'settingsDeclarations');
|
|
7
|
-
return (kind === 'property' || kind === 'nested') && Array.isArray(declarations) && declarations.length > 0;
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=property-node.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"property-node.js","sourceRoot":"","sources":["../../../../source/engine/property-node.ts"],"names":[],"mappings":"AAuCA,MAAM,UAAU,wBAAwB,CAAC,KAAc;IACnD,IAAI,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,EAAE,CAAC;QAC9C,OAAO,KAAK,CAAC;IACjB,CAAC;IACD,MAAM,IAAI,GAAY,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,CAAC,CAAC;IACjD,MAAM,YAAY,GAAY,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,sBAAsB,CAAC,CAAC;IACzE,OAAO,CAAC,IAAI,KAAK,UAAU,IAAI,IAAI,KAAK,QAAQ,CAAC,IAAI,KAAK,CAAC,OAAO,CAAC,YAAY,CAAC,IAAI,YAAY,CAAC,MAAM,GAAG,CAAC,CAAC;AAChH,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { evaluateAssertion, invalidDeepAssertionOperand } from "../assertion-protocol/evaluation.js";
|
|
2
|
-
import { assertNonEmptyItems } from "./assertion-recorder.js";
|
|
3
|
-
import { invalidDeepAssertionOperandFailure } from "./run-result.js";
|
|
4
|
-
function evaluatedAssertionFailure(assertions) {
|
|
5
|
-
const checks = assertions.flatMap(function evaluateRecordedAssertion(assertion, index) {
|
|
6
|
-
const failedCheck = evaluateAssertion(assertion, index + 1);
|
|
7
|
-
return failedCheck === null ? [] : [failedCheck];
|
|
8
|
-
});
|
|
9
|
-
if (checks.length === 0) {
|
|
10
|
-
return null;
|
|
11
|
-
}
|
|
12
|
-
assertNonEmptyItems(checks, 'Expected failed checks to be non-empty.');
|
|
13
|
-
return {
|
|
14
|
-
checks,
|
|
15
|
-
kind: 'assertion'
|
|
16
|
-
};
|
|
17
|
-
}
|
|
18
|
-
function assertionContractFailure(assertions) {
|
|
19
|
-
for (const assertion of assertions) {
|
|
20
|
-
const invalid = invalidDeepAssertionOperand(assertion);
|
|
21
|
-
if (invalid !== null) {
|
|
22
|
-
return invalidDeepAssertionOperandFailure(invalid);
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
return null;
|
|
26
|
-
}
|
|
27
|
-
export function assertionFailure(assertions) {
|
|
28
|
-
return assertionContractFailure(assertions) ?? evaluatedAssertionFailure(assertions);
|
|
29
|
-
}
|
|
30
|
-
//# sourceMappingURL=recorded-assertion-failure.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"recorded-assertion-failure.js","sourceRoot":"","sources":["../../../../source/engine/recorded-assertion-failure.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,2BAA2B,EAAE,MAAM,qCAAqC,CAAC;AAErG,OAAO,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AAC9D,OAAO,EAAE,kCAAkC,EAA8C,MAAM,iBAAiB,CAAC;AAEjH,SAAS,yBAAyB,CAAC,UAAoC;IACnE,MAAM,MAAM,GAAG,UAAU,CAAC,OAAO,CAAC,SAAS,yBAAyB,CAAC,SAAS,EAAE,KAAK;QACjF,MAAM,WAAW,GAAG,iBAAiB,CAAC,SAAS,EAAE,KAAK,GAAG,CAAC,CAAC,CAAC;QAE5D,OAAO,WAAW,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,CAAE,WAAW,CAAE,CAAC;IACvD,CAAC,CAAC,CAAC;IAEH,IAAI,MAAM,CAAC,MAAM,KAAK,CAAC,EAAE,CAAC;QACtB,OAAO,IAAI,CAAC;IAChB,CAAC;IAED,mBAAmB,CAAC,MAAM,EAAE,yCAAyC,CAAC,CAAC;IAEvE,OAAO;QACH,MAAM;QACN,IAAI,EAAE,WAAW;KACpB,CAAC;AACN,CAAC;AAED,SAAS,wBAAwB,CAAC,UAAoC;IAClE,KAAK,MAAM,SAAS,IAAI,UAAU,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG,2BAA2B,CAAC,SAAS,CAAC,CAAC;QAEvD,IAAI,OAAO,KAAK,IAAI,EAAE,CAAC;YACnB,OAAO,kCAAkC,CAAC,OAAO,CAAC,CAAC;QACvD,CAAC;IACL,CAAC;IAED,OAAO,IAAI,CAAC;AAChB,CAAC;AAED,MAAM,UAAU,gBAAgB,CAAC,UAAoC;IACjE,OAAO,wBAAwB,CAAC,UAAU,CAAC,IAAI,yBAAyB,CAAC,UAAU,CAAC,CAAC;AACzF,CAAC"}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import type { DefinedOutputRenderer } from './reporter-output.ts';
|
|
2
|
-
import { type DefinedReporter, type ReporterEvent } from './reporter.ts';
|
|
3
|
-
import type { RunResult, RunnerError } from './run-result.ts';
|
|
4
|
-
export type ReporterDispatcher = {
|
|
5
|
-
readonly createDelivery: (reporters: readonly DefinedReporter[], outputRenderer: DefinedOutputRenderer) => Promise<ReporterDelivery>;
|
|
6
|
-
readonly trackRunnerErrorDelivery: <Result>(work: () => Promise<Result>) => Promise<{
|
|
7
|
-
readonly deliveredRunnerErrors: readonly RunnerError[];
|
|
8
|
-
readonly result: Result;
|
|
9
|
-
readonly undeliveredRunnerErrors: readonly RunnerError[];
|
|
10
|
-
}>;
|
|
11
|
-
};
|
|
12
|
-
export type ReporterDelivery = {
|
|
13
|
-
readonly disposeReporters: () => Promise<readonly RunnerError[]>;
|
|
14
|
-
readonly reportEvent: (event: ReporterEvent) => Promise<readonly RunnerError[]>;
|
|
15
|
-
readonly reportResult: (result: RunResult) => Promise<readonly RunnerError[]>;
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=reporter-dispatcher.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"reporter-dispatcher.d.ts","sourceRoot":"","sources":["../../../../source/engine/reporter-dispatcher.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,yBAqBX,MAAM,sBAAsB,CAAC;AAK9B,OAAO,EAAyB,KAAK,eAAe,EAAiB,KAAK,aAAa,EAAE,MAAM,eAAe,CAAC;AAE/G,OAAO,KAAK,EAAE,SAAS,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAI9D,MAAM,MAAM,kBAAkB,GAAG;IAC7B,QAAQ,CAAC,cAAc,EAAE,CACrB,SAAS,EAAE,SAAS,eAAe,EAAE,EACrC,cAAc,EAAE,qBAAqB,KACpC,OAAO,CAAC,gBAAgB,CAAC,CAAC;IAC/B,QAAQ,CAAC,wBAAwB,EAAE,CAAC,MAAM,EACtC,IAAI,EAAE,MAAM,OAAO,CAAC,MAAM,CAAC,KAC1B,OAAO,CAAC;QACT,QAAQ,CAAC,qBAAqB,EAAE,SAAS,WAAW,EAAE,CAAC;QACvD,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;QACxB,QAAQ,CAAC,uBAAuB,EAAE,SAAS,WAAW,EAAE,CAAC;KAC5D,CAAC,CAAC;CACN,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC3B,QAAQ,CAAC,gBAAgB,EAAE,MAAM,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC,CAAC;IACjE,QAAQ,CAAC,WAAW,EAAE,CAAC,KAAK,EAAE,aAAa,KAAK,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC,CAAC;IAChF,QAAQ,CAAC,YAAY,EAAE,CAAC,MAAM,EAAE,SAAS,KAAK,OAAO,CAAC,SAAS,WAAW,EAAE,CAAC,CAAC;CACjF,CAAC"}
|