@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.
Files changed (612) hide show
  1. package/attachments/failure-artifact-stream.js +2 -2
  2. package/attachments/failure-artifact-stream.js.map +1 -1
  3. package/attachments/run-json-artifact.js +1 -1
  4. package/attachments/run-json-artifact.js.map +1 -1
  5. package/baselines/calibration-store.js +2 -2
  6. package/baselines/calibration-store.js.map +1 -1
  7. package/baselines/performance-adapter.d.ts +2 -2
  8. package/baselines/performance-adapter.d.ts.map +1 -1
  9. package/baselines/performance-baseline.d.ts +2 -2
  10. package/baselines/performance-baseline.d.ts.map +1 -1
  11. package/baselines/performance-baseline.js +1 -1
  12. package/baselines/performance-baseline.js.map +1 -1
  13. package/baselines/performance-check.js +2 -2
  14. package/baselines/performance-check.js.map +1 -1
  15. package/baselines/performance-evaluation.js +1 -1
  16. package/baselines/performance-evaluation.js.map +1 -1
  17. package/baselines/performance-observation.js +1 -1
  18. package/baselines/performance-observation.js.map +1 -1
  19. package/baselines/performance-plan.js +3 -3
  20. package/baselines/performance-plan.js.map +1 -1
  21. package/baselines/performance-store.js +2 -2
  22. package/baselines/performance-store.js.map +1 -1
  23. package/baselines/performance-workflow.js +2 -2
  24. package/baselines/performance-workflow.js.map +1 -1
  25. package/bench/benchmark-statistics-schema.d.ts +1 -1
  26. package/bench/benchmark-statistics-schema.d.ts.map +1 -1
  27. package/bench/calibration-evidence.js +1 -1
  28. package/bench/calibration-evidence.js.map +1 -1
  29. package/bench/calibration-report.d.ts +1 -1
  30. package/bench/calibration-report.d.ts.map +1 -1
  31. package/bench/timeline-schema.js +1 -1
  32. package/bench/timeline-schema.js.map +1 -1
  33. package/config/config.js +1 -1
  34. package/config/config.js.map +1 -1
  35. package/config/execution.d.ts +1 -1
  36. package/config/execution.d.ts.map +1 -1
  37. package/config/property-policy.js +1 -1
  38. package/config/property-policy.js.map +1 -1
  39. package/config/schema.d.ts +4 -4
  40. package/config/schema.d.ts.map +1 -1
  41. package/config/schema.js +2 -2
  42. package/config/schema.js.map +1 -1
  43. package/config/types.d.ts +6 -6
  44. package/config/types.d.ts.map +1 -1
  45. package/package.json +4 -28
  46. package/packages/run/run.entry-point.d.ts +3 -3
  47. package/packages/run/run.entry-point.d.ts.map +1 -1
  48. package/packages/run/run.entry-point.js +1 -1
  49. package/packages/run/run.entry-point.js.map +1 -1
  50. package/reporters/human-reporter-rendering.js +2 -2
  51. package/reporters/human-reporter-rendering.js.map +1 -1
  52. package/reporters/line-failure-rendering.js +1 -1
  53. package/reporters/line-failure-rendering.js.map +1 -1
  54. package/reporters/line-reporter.js +2 -2
  55. package/reporters/line-reporter.js.map +1 -1
  56. package/reporters/progress-reporter.js +1 -1
  57. package/reporters/progress-reporter.js.map +1 -1
  58. package/reporters/tree-reporter.js +1 -1
  59. package/reporters/tree-reporter.js.map +1 -1
  60. package/resources/resource-definition-shape.d.ts +1 -1
  61. package/resources/resource-definition-shape.d.ts.map +1 -1
  62. package/resources/resource-workload-binding.js +2 -2
  63. package/resources/resource-workload-binding.js.map +1 -1
  64. package/run/attachment-eligibility.js +1 -1
  65. package/run/attachment-eligibility.js.map +1 -1
  66. package/run/attachment-execution.js +2 -2
  67. package/run/attachment-execution.js.map +1 -1
  68. package/run/attachment-failure.js +1 -1
  69. package/run/attachment-failure.js.map +1 -1
  70. package/run/attachment-protocol.js +1 -1
  71. package/run/attachment-protocol.js.map +1 -1
  72. package/run/attachment-reporter.js +2 -2
  73. package/run/attachment-reporter.js.map +1 -1
  74. package/run/attachment-results.js +3 -3
  75. package/run/attachment-results.js.map +1 -1
  76. package/run/attachment-retention.js +1 -1
  77. package/run/attachment-retention.js.map +1 -1
  78. package/run/attachment-store.js +1 -1
  79. package/run/attachment-store.js.map +1 -1
  80. package/run/benchmark-baseline-commands.js +1 -1
  81. package/run/benchmark-baseline-commands.js.map +1 -1
  82. package/run/benchmark-baseline-finalization.js +1 -1
  83. package/run/benchmark-baseline-finalization.js.map +1 -1
  84. package/run/benchmark-garbage-collection.js +1 -1
  85. package/run/benchmark-garbage-collection.js.map +1 -1
  86. package/run/benchmark-policy-schema.js +1 -1
  87. package/run/benchmark-policy-schema.js.map +1 -1
  88. package/run/benchmark-report-metadata.js +1 -1
  89. package/run/benchmark-report-metadata.js.map +1 -1
  90. package/run/benchmark-result-schema.js +1 -1
  91. package/run/benchmark-result-schema.js.map +1 -1
  92. package/run/calibration-capture-session.js +2 -2
  93. package/run/calibration-capture-session.js.map +1 -1
  94. package/run/calibration-inventory.js +2 -2
  95. package/run/calibration-inventory.js.map +1 -1
  96. package/run/calibration-maintenance.js +1 -1
  97. package/run/calibration-maintenance.js.map +1 -1
  98. package/run/capability-policy-snapshots.d.ts +1 -1
  99. package/run/capability-policy-snapshots.d.ts.map +1 -1
  100. package/run/capability-policy.js +3 -3
  101. package/run/capability-policy.js.map +1 -1
  102. package/run/collected-run-execution.js +1 -1
  103. package/run/collected-run-execution.js.map +1 -1
  104. package/run/collected-run-plan-schema.js +2 -2
  105. package/run/collected-run-plan-schema.js.map +1 -1
  106. package/run/collected-run-plan.js +4 -4
  107. package/run/collected-run-plan.js.map +1 -1
  108. package/run/command-line-command.d.ts +1 -1
  109. package/run/command-line-command.d.ts.map +1 -1
  110. package/run/command-line-command.js +1 -1
  111. package/run/command-line-command.js.map +1 -1
  112. package/run/command-line-config.d.ts +1 -1
  113. package/run/command-line-config.d.ts.map +1 -1
  114. package/run/default-direct-reporter.js +1 -1
  115. package/run/default-direct-reporter.js.map +1 -1
  116. package/run/default-run-engine.js +7 -7
  117. package/run/default-run-engine.js.map +1 -1
  118. package/run/direct-entrypoint-collection.js +3 -3
  119. package/run/direct-entrypoint-collection.js.map +1 -1
  120. package/run/execution-plan-resolution.js +1 -1
  121. package/run/execution-plan-resolution.js.map +1 -1
  122. package/run/execution-session-child.js +1 -1
  123. package/run/execution-session-child.js.map +1 -1
  124. package/run/execution-session-collected.js +1 -1
  125. package/run/execution-session-collected.js.map +1 -1
  126. package/run/execution-session-host.js +1 -1
  127. package/run/execution-session-host.js.map +1 -1
  128. package/run/execution-session-lifecycle.js +2 -2
  129. package/run/execution-session-lifecycle.js.map +1 -1
  130. package/run/execution-session-observation.js +1 -1
  131. package/run/execution-session-observation.js.map +1 -1
  132. package/run/execution-session-schema.js +1 -1
  133. package/run/execution-session-schema.js.map +1 -1
  134. package/run/execution-session-types.d.ts +1 -1
  135. package/run/execution-session-types.d.ts.map +1 -1
  136. package/run/execution-session.js +1 -1
  137. package/run/execution-session.js.map +1 -1
  138. package/run/failure-artifact-retention.js +2 -2
  139. package/run/failure-artifact-retention.js.map +1 -1
  140. package/run/frozen-run-policy.js +1 -1
  141. package/run/frozen-run-policy.js.map +1 -1
  142. package/run/initialized-run-collection.js +1 -1
  143. package/run/initialized-run-collection.js.map +1 -1
  144. package/run/node-command-line-runner.d.ts +1 -1
  145. package/run/node-command-line-runner.d.ts.map +1 -1
  146. package/run/node-process-policy-observation.js +1 -1
  147. package/run/node-process-policy-observation.js.map +1 -1
  148. package/run/node-run-execution.js +1 -1
  149. package/run/node-run-execution.js.map +1 -1
  150. package/run/node-run-orchestrator-dependencies.js +1 -1
  151. package/run/node-run-orchestrator-dependencies.js.map +1 -1
  152. package/run/permission-denial-runtime-policy.js +3 -3
  153. package/run/permission-denial-runtime-policy.js.map +1 -1
  154. package/run/placement-trace.d.ts +2 -2
  155. package/run/placement-trace.d.ts.map +1 -1
  156. package/run/property-collection.js +1 -1
  157. package/run/property-collection.js.map +1 -1
  158. package/run/recorded-coverage-session.js +1 -1
  159. package/run/recorded-coverage-session.js.map +1 -1
  160. package/run/reporter-event-schema.js +1 -1
  161. package/run/reporter-event-schema.js.map +1 -1
  162. package/run/resource-lifecycle-boundaries.js +1 -1
  163. package/run/resource-lifecycle-boundaries.js.map +1 -1
  164. package/run/resource-lifecycle-cache-identity.js +2 -2
  165. package/run/resource-lifecycle-cache-identity.js.map +1 -1
  166. package/run/resource-lifecycle-composition.d.ts +1 -1
  167. package/run/resource-lifecycle-composition.d.ts.map +1 -1
  168. package/run/resource-lifecycle-error.d.ts +1 -1
  169. package/run/resource-lifecycle-error.d.ts.map +1 -1
  170. package/run/resource-lifecycle-error.js +1 -1
  171. package/run/resource-lifecycle-error.js.map +1 -1
  172. package/run/resource-lifecycle-session-acquirer.js +1 -1
  173. package/run/resource-lifecycle-session-acquirer.js.map +1 -1
  174. package/run/resource-lifecycle-state.d.ts +3 -3
  175. package/run/resource-lifecycle-state.d.ts.map +1 -1
  176. package/run/resource-lifecycle-state.js +2 -2
  177. package/run/resource-lifecycle-state.js.map +1 -1
  178. package/run/resource-ownership-plan.d.ts +2 -2
  179. package/run/resource-ownership-plan.d.ts.map +1 -1
  180. package/run/retry-artifact-retention.js +1 -1
  181. package/run/retry-artifact-retention.js.map +1 -1
  182. package/run/run-artifact-schema.d.ts +1 -1
  183. package/run/run-artifact-schema.d.ts.map +1 -1
  184. package/run/run-case-facts.js +1 -1
  185. package/run/run-case-facts.js.map +1 -1
  186. package/run/run-collection-error-result.js +2 -2
  187. package/run/run-collection-error-result.js.map +1 -1
  188. package/run/run-discovery-types.d.ts +1 -1
  189. package/run/run-discovery-types.d.ts.map +1 -1
  190. package/run/run-engine-primitives.d.ts +8 -8
  191. package/run/run-engine-primitives.d.ts.map +1 -1
  192. package/run/run-engine-selection.d.ts +1 -1
  193. package/run/run-engine-selection.d.ts.map +1 -1
  194. package/run/run-errors.d.ts +2 -2
  195. package/run/run-errors.d.ts.map +1 -1
  196. package/run/run-errors.js +1 -1
  197. package/run/run-errors.js.map +1 -1
  198. package/run/run-if-main-options.d.ts +3 -3
  199. package/run/run-if-main-options.d.ts.map +1 -1
  200. package/run/run-if-main.d.ts +1 -1
  201. package/run/run-if-main.d.ts.map +1 -1
  202. package/run/run-list-renderer.js +2 -2
  203. package/run/run-list-renderer.js.map +1 -1
  204. package/run/run-local-sharding.js +1 -1
  205. package/run/run-local-sharding.js.map +1 -1
  206. package/run/run-local-test-plan.js +21 -17
  207. package/run/run-local-test-plan.js.map +1 -1
  208. package/run/run-record-outcomes.d.ts +5 -5
  209. package/run/run-record-outcomes.d.ts.map +1 -1
  210. package/run/run-record-result.d.ts +1 -1
  211. package/run/run-record-result.d.ts.map +1 -1
  212. package/run/run-record-result.js +2 -2
  213. package/run/run-record-result.js.map +1 -1
  214. package/run/run-record-storage.js +1 -1
  215. package/run/run-record-storage.js.map +1 -1
  216. package/run/run-record-types.d.ts +3 -3
  217. package/run/run-record-types.d.ts.map +1 -1
  218. package/run/run-request-types.d.ts +3 -3
  219. package/run/run-request-types.d.ts.map +1 -1
  220. package/run/run-result-reporting.js +1 -1
  221. package/run/run-result-reporting.js.map +1 -1
  222. package/run/run-result-schema.d.ts +1 -1
  223. package/run/run-result-schema.d.ts.map +1 -1
  224. package/run/run-runtime-schema.js +1 -1
  225. package/run/run-runtime-schema.js.map +1 -1
  226. package/run/run-selection-filters.d.ts +2 -2
  227. package/run/run-selection-filters.d.ts.map +1 -1
  228. package/run/run-selection-filters.js +1 -1
  229. package/run/run-selection-filters.js.map +1 -1
  230. package/run/run-selection.js +2 -2
  231. package/run/run-selection.js.map +1 -1
  232. package/run/run-sharding.js +1 -1
  233. package/run/run-sharding.js.map +1 -1
  234. package/run/run-test-modules.d.ts +3 -3
  235. package/run/run-test-modules.d.ts.map +1 -1
  236. package/run/run-timing-collection.d.ts +2 -2
  237. package/run/run-timing-collection.d.ts.map +1 -1
  238. package/run/run-timing-collection.js +1 -1
  239. package/run/run-timing-collection.js.map +1 -1
  240. package/run/run-types.d.ts +1 -1
  241. package/run/run-types.d.ts.map +1 -1
  242. package/run/run-validation.js +1 -1
  243. package/run/run-validation.js.map +1 -1
  244. package/run/simulation-witness.js +1 -1
  245. package/run/simulation-witness.js.map +1 -1
  246. package/run/supervised-child-execution.js +3 -3
  247. package/run/supervised-child-execution.js.map +1 -1
  248. package/run/supervised-child-test-plan.js +1 -1
  249. package/run/supervised-child-test-plan.js.map +1 -1
  250. package/run/supervised-child.js +1 -1
  251. package/run/supervised-child.js.map +1 -1
  252. package/run/supervised-output-capture.js +1 -1
  253. package/run/supervised-output-capture.js.map +1 -1
  254. package/run/supervised-protocol.js +1 -1
  255. package/run/supervised-protocol.js.map +1 -1
  256. package/run/supervised-run-process-policy.js +2 -2
  257. package/run/supervised-run-process-policy.js.map +1 -1
  258. package/run/supervised-run-runtime.js +1 -1
  259. package/run/supervised-run-runtime.js.map +1 -1
  260. package/run/supervised-run-state.js +3 -3
  261. package/run/supervised-run-state.js.map +1 -1
  262. package/run/work-unit-identity.js +1 -1
  263. package/run/work-unit-identity.js.map +1 -1
  264. package/run/work-unit-planning.js +1 -1
  265. package/run/work-unit-planning.js.map +1 -1
  266. package/run/work-unit-resource-constraints.js +2 -2
  267. package/run/work-unit-resource-constraints.js.map +1 -1
  268. package/run/worker-execution-engine.js +2 -2
  269. package/run/worker-execution-engine.js.map +1 -1
  270. package/run/worker-pool-hedge-dispatch.js +1 -1
  271. package/run/worker-pool-hedge-dispatch.js.map +1 -1
  272. package/run/worker-pool-hedged-arbitration.js +1 -1
  273. package/run/worker-pool-hedged-arbitration.js.map +1 -1
  274. package/run/worker-pool-host.entry-point.js +1 -1
  275. package/run/worker-pool-host.entry-point.js.map +1 -1
  276. package/run/worker-pool-output.js +1 -1
  277. package/run/worker-pool-output.js.map +1 -1
  278. package/run/worker-pool-pending-splitting.js +1 -1
  279. package/run/worker-pool-pending-splitting.js.map +1 -1
  280. package/run/worker-pool-placement-planning.js +1 -1
  281. package/run/worker-pool-placement-planning.js.map +1 -1
  282. package/run/worker-pool-resource-lifecycle-execution.js +1 -1
  283. package/run/worker-pool-resource-lifecycle-execution.js.map +1 -1
  284. package/run/worker-pool-results.js +1 -1
  285. package/run/worker-pool-results.js.map +1 -1
  286. package/run/worker-pool-task-events.js +2 -2
  287. package/run/worker-pool-task-events.js.map +1 -1
  288. package/run/worker-pool-warm-lane-affinity.js +1 -1
  289. package/run/worker-pool-warm-lane-affinity.js.map +1 -1
  290. package/run/worker-pool-work-load.js +1 -1
  291. package/run/worker-pool-work-load.js.map +1 -1
  292. package/run/worker-pool-worker-plan.js +2 -2
  293. package/run/worker-pool-worker-plan.js.map +1 -1
  294. package/run/worker-pool-worker-resources.js +1 -1
  295. package/run/worker-pool-worker-resources.js.map +1 -1
  296. package/run/worker-pool-worker.js +1 -1
  297. package/run/worker-pool-worker.js.map +1 -1
  298. package/run/workload-input-validation.js +1 -1
  299. package/run/workload-input-validation.js.map +1 -1
  300. package/software-bill-of-materials.cyclonedx.json +21 -38
  301. package/transcript/http-transcript-artifact.js +1 -1
  302. package/transcript/http-transcript-artifact.js.map +1 -1
  303. package/assertion-protocol/assertion-evaluation.js +0 -6
  304. package/assertion-protocol/assertion-evaluation.js.map +0 -1
  305. package/assertion-protocol/assertion-node-shape.d.ts +0 -81
  306. package/assertion-protocol/assertion-node-shape.d.ts.map +0 -1
  307. package/assertion-protocol/assertion-node.d.ts +0 -82
  308. package/assertion-protocol/assertion-node.d.ts.map +0 -1
  309. package/assertion-protocol/assertion-node.js +0 -33
  310. package/assertion-protocol/assertion-node.js.map +0 -1
  311. package/assertion-protocol/assertion-reference.d.ts +0 -50
  312. package/assertion-protocol/assertion-reference.d.ts.map +0 -1
  313. package/assertion-protocol/assertion-reference.js +0 -22
  314. package/assertion-protocol/assertion-reference.js.map +0 -1
  315. package/assertion-protocol/assertions/boolean.d.ts +0 -4
  316. package/assertion-protocol/assertions/boolean.d.ts.map +0 -1
  317. package/assertion-protocol/assertions/boolean.js +0 -12
  318. package/assertion-protocol/assertions/boolean.js.map +0 -1
  319. package/assertion-protocol/assertions/collection.d.ts +0 -13
  320. package/assertion-protocol/assertions/collection.d.ts.map +0 -1
  321. package/assertion-protocol/assertions/collection.js +0 -21
  322. package/assertion-protocol/assertions/collection.js.map +0 -1
  323. package/assertion-protocol/assertions/dispatch.js +0 -47
  324. package/assertion-protocol/assertions/dispatch.js.map +0 -1
  325. package/assertion-protocol/assertions/equality.d.ts +0 -6
  326. package/assertion-protocol/assertions/equality.d.ts.map +0 -1
  327. package/assertion-protocol/assertions/equality.js +0 -24
  328. package/assertion-protocol/assertions/equality.js.map +0 -1
  329. package/assertion-protocol/assertions/fail.d.ts +0 -8
  330. package/assertion-protocol/assertions/fail.d.ts.map +0 -1
  331. package/assertion-protocol/assertions/fail.js +0 -8
  332. package/assertion-protocol/assertions/fail.js.map +0 -1
  333. package/assertion-protocol/assertions/numeric.d.ts +0 -16
  334. package/assertion-protocol/assertions/numeric.d.ts.map +0 -1
  335. package/assertion-protocol/assertions/numeric.js +0 -43
  336. package/assertion-protocol/assertions/numeric.js.map +0 -1
  337. package/assertion-protocol/assertions/partial.d.ts +0 -5
  338. package/assertion-protocol/assertions/partial.d.ts.map +0 -1
  339. package/assertion-protocol/assertions/partial.js +0 -17
  340. package/assertion-protocol/assertions/partial.js.map +0 -1
  341. package/assertion-protocol/assertions/presence.d.ts +0 -6
  342. package/assertion-protocol/assertions/presence.d.ts.map +0 -1
  343. package/assertion-protocol/assertions/presence.js +0 -20
  344. package/assertion-protocol/assertions/presence.js.map +0 -1
  345. package/assertion-protocol/assertions/string.d.ts +0 -15
  346. package/assertion-protocol/assertions/string.d.ts.map +0 -1
  347. package/assertion-protocol/assertions/string.js +0 -33
  348. package/assertion-protocol/assertions/string.js.map +0 -1
  349. package/assertion-protocol/assertions/type-shape.d.ts +0 -23
  350. package/assertion-protocol/assertions/type-shape.d.ts.map +0 -1
  351. package/assertion-protocol/assertions/type-shape.js +0 -43
  352. package/assertion-protocol/assertions/type-shape.js.map +0 -1
  353. package/assertion-protocol/collection-count.js +0 -42
  354. package/assertion-protocol/collection-count.js.map +0 -1
  355. package/assertion-protocol/evaluation.js +0 -175
  356. package/assertion-protocol/evaluation.js.map +0 -1
  357. package/assertion-protocol/partial-matching.js +0 -13
  358. package/assertion-protocol/partial-matching.js.map +0 -1
  359. package/assertion-protocol/source-location-forwarding.js +0 -32
  360. package/assertion-protocol/source-location-forwarding.js.map +0 -1
  361. package/assertion-protocol/source-location.js +0 -119
  362. package/assertion-protocol/source-location.js.map +0 -1
  363. package/assertion-protocol/thrown-error-record.d.ts +0 -7
  364. package/assertion-protocol/thrown-error-record.d.ts.map +0 -1
  365. package/assertion-protocol/thrown-error-record.js +0 -17
  366. package/assertion-protocol/thrown-error-record.js.map +0 -1
  367. package/assertion-protocol/thrown-matcher.d.ts +0 -34
  368. package/assertion-protocol/thrown-matcher.d.ts.map +0 -1
  369. package/assertion-protocol/thrown-matcher.js +0 -201
  370. package/assertion-protocol/thrown-matcher.js.map +0 -1
  371. package/attachments/json-snapshot.js +0 -125
  372. package/attachments/json-snapshot.js.map +0 -1
  373. package/canonical-identity.js +0 -54
  374. package/canonical-identity.js.map +0 -1
  375. package/compare/comparison-result.js +0 -47
  376. package/compare/comparison-result.js.map +0 -1
  377. package/compare/comparison-state.js +0 -20
  378. package/compare/comparison-state.js.map +0 -1
  379. package/compare/comparison.js +0 -78
  380. package/compare/comparison.js.map +0 -1
  381. package/compare/diff-path.js +0 -37
  382. package/compare/diff-path.js.map +0 -1
  383. package/compare/raw-comparison.js +0 -285
  384. package/compare/raw-comparison.js.map +0 -1
  385. package/compare/serialized-value-classification.js +0 -99
  386. package/compare/serialized-value-classification.js.map +0 -1
  387. package/compare/serialized-value-shape.d.ts +0 -134
  388. package/compare/serialized-value-shape.d.ts.map +0 -1
  389. package/compare/serialized-value-shape.js +0 -12
  390. package/compare/serialized-value-shape.js.map +0 -1
  391. package/compare/serialized-value-state.js +0 -55
  392. package/compare/serialized-value-state.js.map +0 -1
  393. package/compare/serialized-value.d.ts +0 -4
  394. package/compare/serialized-value.d.ts.map +0 -1
  395. package/compare/serialized-value.js +0 -389
  396. package/compare/serialized-value.js.map +0 -1
  397. package/compare/structured-diff.js +0 -382
  398. package/compare/structured-diff.js.map +0 -1
  399. package/compare/value-classification.js +0 -112
  400. package/compare/value-classification.js.map +0 -1
  401. package/diff/binary-diff.js +0 -49
  402. package/diff/binary-diff.js.map +0 -1
  403. package/diff/diff-shape.d.ts +0 -122
  404. package/diff/diff-shape.d.ts.map +0 -1
  405. package/diff/string-diff.js +0 -22
  406. package/diff/string-diff.js.map +0 -1
  407. package/engine/assertion-facade.d.ts +0 -47
  408. package/engine/assertion-facade.d.ts.map +0 -1
  409. package/engine/assertion-facade.js +0 -362
  410. package/engine/assertion-facade.js.map +0 -1
  411. package/engine/assertion-recorder.d.ts +0 -12
  412. package/engine/assertion-recorder.d.ts.map +0 -1
  413. package/engine/assertion-recorder.js +0 -251
  414. package/engine/assertion-recorder.js.map +0 -1
  415. package/engine/async-control.d.ts +0 -7
  416. package/engine/async-control.d.ts.map +0 -1
  417. package/engine/async-control.js +0 -162
  418. package/engine/async-control.js.map +0 -1
  419. package/engine/async-leak-diagnostics.js +0 -188
  420. package/engine/async-leak-diagnostics.js.map +0 -1
  421. package/engine/benchmark-environment.d.ts +0 -8
  422. package/engine/benchmark-environment.d.ts.map +0 -1
  423. package/engine/benchmark-garbage-collection.d.ts +0 -8
  424. package/engine/benchmark-garbage-collection.d.ts.map +0 -1
  425. package/engine/benchmark-garbage-collection.js +0 -4
  426. package/engine/benchmark-garbage-collection.js.map +0 -1
  427. package/engine/benchmark-limits.js +0 -3
  428. package/engine/benchmark-limits.js.map +0 -1
  429. package/engine/benchmark-node.d.ts +0 -37
  430. package/engine/benchmark-node.d.ts.map +0 -1
  431. package/engine/benchmark-node.js +0 -9
  432. package/engine/benchmark-node.js.map +0 -1
  433. package/engine/benchmark-result.d.ts +0 -247
  434. package/engine/benchmark-result.d.ts.map +0 -1
  435. package/engine/benchmark-result.js +0 -2
  436. package/engine/benchmark-result.js.map +0 -1
  437. package/engine/benchmark-timeline.d.ts +0 -12
  438. package/engine/benchmark-timeline.d.ts.map +0 -1
  439. package/engine/case-attempt-execution.js +0 -234
  440. package/engine/case-attempt-execution.js.map +0 -1
  441. package/engine/case-body-execution.js +0 -232
  442. package/engine/case-body-execution.js.map +0 -1
  443. package/engine/case-execution-lifecycle.js +0 -22
  444. package/engine/case-execution-lifecycle.js.map +0 -1
  445. package/engine/case-execution.d.ts +0 -14
  446. package/engine/case-execution.d.ts.map +0 -1
  447. package/engine/case-execution.js +0 -225
  448. package/engine/case-execution.js.map +0 -1
  449. package/engine/case-interruption.js +0 -26
  450. package/engine/case-interruption.js.map +0 -1
  451. package/engine/coverage-artifact.d.ts +0 -36
  452. package/engine/coverage-artifact.d.ts.map +0 -1
  453. package/engine/custom-assertion-recording.js +0 -175
  454. package/engine/custom-assertion-recording.js.map +0 -1
  455. package/engine/engine.d.ts +0 -21
  456. package/engine/engine.d.ts.map +0 -1
  457. package/engine/engine.js +0 -35
  458. package/engine/engine.js.map +0 -1
  459. package/engine/execution-async-leak-policy.d.ts +0 -3
  460. package/engine/execution-async-leak-policy.d.ts.map +0 -1
  461. package/engine/execution-async-leak-policy.js +0 -95
  462. package/engine/execution-async-leak-policy.js.map +0 -1
  463. package/engine/execution-error-ownership.d.ts +0 -6
  464. package/engine/execution-error-ownership.d.ts.map +0 -1
  465. package/engine/execution-error-ownership.js +0 -83
  466. package/engine/execution-error-ownership.js.map +0 -1
  467. package/engine/execution-global-error-observer.d.ts +0 -15
  468. package/engine/execution-global-error-observer.d.ts.map +0 -1
  469. package/engine/execution-global-error-observer.js +0 -276
  470. package/engine/execution-global-error-observer.js.map +0 -1
  471. package/engine/execution-observation.js +0 -212
  472. package/engine/execution-observation.js.map +0 -1
  473. package/engine/execution-options.d.ts +0 -39
  474. package/engine/execution-options.d.ts.map +0 -1
  475. package/engine/execution-options.js +0 -42
  476. package/engine/execution-options.js.map +0 -1
  477. package/engine/execution-preparation.d.ts +0 -13
  478. package/engine/execution-preparation.d.ts.map +0 -1
  479. package/engine/execution-preparation.js +0 -34
  480. package/engine/execution-preparation.js.map +0 -1
  481. package/engine/execution-process-budget-breach.d.ts +0 -8
  482. package/engine/execution-process-budget-breach.d.ts.map +0 -1
  483. package/engine/execution-process-budget-breach.js +0 -30
  484. package/engine/execution-process-budget-breach.js.map +0 -1
  485. package/engine/execution-process-budget-tracking.js +0 -33
  486. package/engine/execution-process-budget-tracking.js.map +0 -1
  487. package/engine/execution-process-tracked-cases.js +0 -40
  488. package/engine/execution-process-tracked-cases.js.map +0 -1
  489. package/engine/execution-result.js +0 -120
  490. package/engine/execution-result.js.map +0 -1
  491. package/engine/execution-supervision-state.js +0 -54
  492. package/engine/execution-supervision-state.js.map +0 -1
  493. package/engine/execution-supervision.d.ts +0 -16
  494. package/engine/execution-supervision.d.ts.map +0 -1
  495. package/engine/execution-supervision.js +0 -345
  496. package/engine/execution-supervision.js.map +0 -1
  497. package/engine/execution-test-plan-cases.js +0 -216
  498. package/engine/execution-test-plan-cases.js.map +0 -1
  499. package/engine/execution-test-plan-process-usage.js +0 -14
  500. package/engine/execution-test-plan-process-usage.js.map +0 -1
  501. package/engine/execution.d.ts +0 -8
  502. package/engine/execution.d.ts.map +0 -1
  503. package/engine/execution.js +0 -71
  504. package/engine/execution.js.map +0 -1
  505. package/engine/identity.d.ts +0 -31
  506. package/engine/identity.d.ts.map +0 -1
  507. package/engine/identity.js +0 -68
  508. package/engine/identity.js.map +0 -1
  509. package/engine/native-resource-observation.js +0 -70
  510. package/engine/native-resource-observation.js.map +0 -1
  511. package/engine/node-assertion-error.js +0 -47
  512. package/engine/node-assertion-error.js.map +0 -1
  513. package/engine/process-usage-growth.js +0 -12
  514. package/engine/process-usage-growth.js.map +0 -1
  515. package/engine/process-usage.d.ts +0 -22
  516. package/engine/process-usage.d.ts.map +0 -1
  517. package/engine/property-node.d.ts +0 -30
  518. package/engine/property-node.d.ts.map +0 -1
  519. package/engine/property-node.js +0 -9
  520. package/engine/property-node.js.map +0 -1
  521. package/engine/recorded-assertion-failure.js +0 -30
  522. package/engine/recorded-assertion-failure.js.map +0 -1
  523. package/engine/reporter-dispatcher.d.ts +0 -17
  524. package/engine/reporter-dispatcher.d.ts.map +0 -1
  525. package/engine/reporter-dispatcher.js +0 -316
  526. package/engine/reporter-dispatcher.js.map +0 -1
  527. package/engine/reporter-disposal.js +0 -13
  528. package/engine/reporter-disposal.js.map +0 -1
  529. package/engine/reporter-error-delivery-tracking.js +0 -33
  530. package/engine/reporter-error-delivery-tracking.js.map +0 -1
  531. package/engine/reporter-event-queue.js +0 -55
  532. package/engine/reporter-event-queue.js.map +0 -1
  533. package/engine/reporter-managed-output.js +0 -105
  534. package/engine/reporter-managed-output.js.map +0 -1
  535. package/engine/reporter-output-scope.js +0 -65
  536. package/engine/reporter-output-scope.js.map +0 -1
  537. package/engine/reporter-output.d.ts +0 -28
  538. package/engine/reporter-output.d.ts.map +0 -1
  539. package/engine/reporter-output.js +0 -17
  540. package/engine/reporter-output.js.map +0 -1
  541. package/engine/reporter.d.ts +0 -197
  542. package/engine/reporter.d.ts.map +0 -1
  543. package/engine/reporter.js +0 -111
  544. package/engine/reporter.js.map +0 -1
  545. package/engine/reporting-context.d.ts +0 -6
  546. package/engine/reporting-context.d.ts.map +0 -1
  547. package/engine/reporting-context.js +0 -74
  548. package/engine/reporting-context.js.map +0 -1
  549. package/engine/require-assertion-facade.d.ts +0 -18
  550. package/engine/require-assertion-facade.d.ts.map +0 -1
  551. package/engine/require-assertion-facade.js +0 -128
  552. package/engine/require-assertion-facade.js.map +0 -1
  553. package/engine/resource-owner-observation.js +0 -143
  554. package/engine/resource-owner-observation.js.map +0 -1
  555. package/engine/retry-policy.d.ts +0 -4
  556. package/engine/retry-policy.d.ts.map +0 -1
  557. package/engine/retry-policy.js +0 -22
  558. package/engine/retry-policy.js.map +0 -1
  559. package/engine/run-artifact.d.ts +0 -45
  560. package/engine/run-artifact.d.ts.map +0 -1
  561. package/engine/run-result.d.ts +0 -215
  562. package/engine/run-result.d.ts.map +0 -1
  563. package/engine/run-result.js +0 -202
  564. package/engine/run-result.js.map +0 -1
  565. package/engine/run-timings.d.ts +0 -57
  566. package/engine/run-timings.d.ts.map +0 -1
  567. package/engine/run-timings.js +0 -120
  568. package/engine/run-timings.js.map +0 -1
  569. package/engine/runner-error-reporting.js +0 -29
  570. package/engine/runner-error-reporting.js.map +0 -1
  571. package/engine/runtime-attachment.d.ts +0 -82
  572. package/engine/runtime-attachment.d.ts.map +0 -1
  573. package/engine/test-attempt-history.js +0 -25
  574. package/engine/test-attempt-history.js.map +0 -1
  575. package/engine/test-body-resource-attachment.d.ts +0 -53
  576. package/engine/test-body-resource-attachment.d.ts.map +0 -1
  577. package/engine/test-body-resource-attachment.js +0 -30
  578. package/engine/test-body-resource-attachment.js.map +0 -1
  579. package/engine/test-body.d.ts +0 -16
  580. package/engine/test-body.d.ts.map +0 -1
  581. package/engine/test-body.js +0 -51
  582. package/engine/test-body.js.map +0 -1
  583. package/engine/test-data.d.ts +0 -25
  584. package/engine/test-data.d.ts.map +0 -1
  585. package/engine/test-data.js +0 -126
  586. package/engine/test-data.js.map +0 -1
  587. package/engine/test-node.d.ts +0 -178
  588. package/engine/test-node.d.ts.map +0 -1
  589. package/engine/test-node.js +0 -226
  590. package/engine/test-node.js.map +0 -1
  591. package/engine/test-plan.d.ts +0 -52
  592. package/engine/test-plan.d.ts.map +0 -1
  593. package/engine/test-plan.js +0 -315
  594. package/engine/test-plan.js.map +0 -1
  595. package/engine/test-scope-lifecycle.js +0 -65
  596. package/engine/test-scope-lifecycle.js.map +0 -1
  597. package/engine/throwing-test-scope.js +0 -27
  598. package/engine/throwing-test-scope.js.map +0 -1
  599. package/engine/workload-input.d.ts +0 -3
  600. package/engine/workload-input.d.ts.map +0 -1
  601. package/engine/workload-input.js +0 -54
  602. package/engine/workload-input.js.map +0 -1
  603. package/engine/workload-parameters.d.ts +0 -3
  604. package/engine/workload-parameters.d.ts.map +0 -1
  605. package/engine/workload-parameters.js +0 -67
  606. package/engine/workload-parameters.js.map +0 -1
  607. package/engine/workload-test-case.d.ts +0 -8
  608. package/engine/workload-test-case.d.ts.map +0 -1
  609. package/engine/workload-test-case.js +0 -33
  610. package/engine/workload-test-case.js.map +0 -1
  611. package/stored-value.js +0 -12
  612. package/stored-value.js.map +0 -1
@@ -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
@@ -1 +0,0 @@
1
- {"version":3,"file":"execution.js","sourceRoot":"","sources":["../../../../source/engine/execution.ts"],"names":[],"mappings":"AAKA,OAAO,EAAE,kBAAkB,EAAE,eAAe,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AACpG,OAAO,EAAE,0CAA0C,EAAE,MAAM,wCAAwC,CAAC;AACpG,OAAO,EACH,sBAAsB,EAGzB,MAAM,0BAA0B,CAAC;AAClC,OAAO,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAGjE,OAAO,EACH,qBAAqB,EAGxB,MAAM,4BAA4B,CAAC;AAmBpC,KAAK,U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,CAAC,gBAAgB,CAAC,gBAAgB,CAAC,CAAC;IACnF,IAAI,CAAC;QACD,OAAO,MAAM,QAAQ,CAAC,mBAAmB,CAAC,WAAW,CAAC,KAAK,UAAU,oBAAoB;YACrF,OAAO,MAAM,UAAU,CAAC;gBACpB,OAAO,EAAE,EAAE,YAAY,EAAE,QAAQ,CAAC,YAAY,EAAE,gBAAgB,EAAE;gBAClE,OAAO,EAAE,QAAQ,CAAC,OAAO;gBACzB,gBAAgB;gBAChB,QAAQ;aACX,CAAC,CAAC;QACP,CAAC,CAAC,CAAC;IACP,CAAC;IAAC,OAAO,KAAc,EAAE,CAAC;QACtB,OAAO,MAAM,sBAAsB,CAAC,KAAK,EAAE,gBAAgB,CAAC,WAAW,CAAC,CAAC;IAC7E,CAAC;AACL,CAAC;AAED,MAAM,UAAU,aAAa,CAAC,YAAiC;IAC3D,OAAO,KAAK,UAAU,OAAO,CAAC,QAAQ,EAAE,OAAO;QAC3C,OAAO,MAAM,qBAAqB,CAAC,YAAY,EAAE,OAAO,EAAE,QAAQ,EAAE,KAAK,UAAU,eAAe,CAAC,QAAQ;YACvG,OAAO,MAAM,2BAA2B,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAC;QACjE,CAAC,CAAC,CAAC;IACP,CAAC,CAAC;AACN,CAAC"}
@@ -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
@@ -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,QAAQ,CAAC,MAAM,EAAE,MAAM,GAAG,IAAI,CAAC;CAClC,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AACjE,MAAM,MAAM,uBAAuB,GAAG,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;AAEvE,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,UAAU,EAAE,iBAAiB,CAAC;IACvC,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,SAAS,EAAE,uBAAuB,CAAC;IAC5C,QAAQ,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;CACrC,CAAC;AAEF,MAAM,MAAM,UAAU,GAAG;IACrB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,MAAM,EAAE,QAAQ,CAAC,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAAC;CACrD,CAAC;AAEF,MAAM,MAAM,MAAM,GAAG;IACjB,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;IACtB,QAAQ,CAAC,QAAQ,EAAE,SAAS,SAAS,EAAE,CAAC;IACxC,QAAQ,CAAC,QAAQ,EAAE,UAAU,GAAG,IAAI,CAAC;CACxC,CAAC;AAEF,wBAwDgB,eAAe,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAUpD;AAED,oCAQ4B,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,CASnD;AACD,MAAM,MAAM,SAAS,GAAG;IACpB,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;CAC1B,CAAC"}
@@ -1,68 +0,0 @@
1
- export function createCaseId(file, suite, title, params) {
2
- return {
3
- file,
4
- params,
5
- suite,
6
- title
7
- };
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
@@ -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,oBAAoB,CAAC,OAAO,CAAC,SAAS,CAAC;KAC1C,CAAC;AACN,CAAC;AAED,SAAS,sBAAsB,CAAC,QAA8B;IAC1D,OAAO,QAAQ,CAAC,GAAG,C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AAG,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":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,uBAAuB,EAAE,MAAM,4BAA4B,CAAC;AAqB7F,MAAM,yBAAyB,GAAG,IAAI,GAAG,CAAC,CAAE,SAAS,EAAE,YAAY,EAAE,WAAW,CAAE,CAAC,CAAC;AACpF,MAAM,SAAS,GAAG,IAAI,GAAG,EAA0B,CAAC;AAIpD,SAAS,iBAAiB,CAAC,KAAc;IACrC,OAAO,OAAO,KAAK,KAAK,QAAQ,IAAI,KAAK,KAAK,IAAI,IAAI,OAAO,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,QAAQ,CAAC,KAAK,UAAU,CAAC;AAC7G,CAAC;AAED,SAAS,eAAe,CAAC,SAAmC;IACxD,OAAO,SAAS,CAAC,KAAK,EAAE,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;AAChD,CAAC;AAED,MAAM,UAAU,oBAAoB,CAAC,EAAU,EAAE,IAAY,EAAE,QAAiB;IAC5E,IAAI,yBAAyB,CAAC,GAAG,CAAC,IAAI,CAAC,EAAE,CAAC;QACtC,OAAO;IACX,CAAC;IACD,IAAI,IAAI,KAAK,SAAS,IAAI,iBAAiB,CAAC,QAAQ,C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../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,KAA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ClB,QAAQ,EAAE,CAAE,KAAK,CAAE;QACnB,QAAQ,EAAE,kBAAkB;QAC5B,OAAO,EAAE,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"}
@@ -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"}