mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-09-22 06:42:19 +03:00
fix(tests): list dist/httpClientAbortGuard.mjs in the pack-artifact policy assertion
#13636 added the abort guard to PACK_ARTIFACT_REQUIRED_PATHS but left the expected missing-paths array in tests/unit/pack-artifact-policy.test.ts unchanged, so the test has been red on release/v3.8.51 ever since — 19 pass, 1 fail on a pristine tip, and on every PR whose changed-file set reaches it. The policy is the source of truth; this only teaches the assertion about the entry it already requires. 20/20 pass here.
This commit is contained in:
@@ -0,0 +1 @@
|
||||
- **fix(tests):** add `dist/httpClientAbortGuard.mjs` to the expected missing-paths list in `tests/unit/pack-artifact-policy.test.ts` — [#13636](https://github.com/diegosouzapw/OmniRoute/pull/13636) registered the file in `PACK_ARTIFACT_REQUIRED_PATHS` without updating the assertion, leaving the test red on the release tip for every PR that runs it ([#12732](https://github.com/diegosouzapw/OmniRoute/issues/12732))
|
||||
@@ -299,6 +299,7 @@ test("findMissingArtifactPaths flags missing root runtime files in the tarball",
|
||||
"config/release/wreq-js-rust-notices.md",
|
||||
"dist/head-response-guard.cjs",
|
||||
"dist/http-method-guard.cjs",
|
||||
"dist/httpClientAbortGuard.mjs",
|
||||
"dist/main-server-timeouts.mjs",
|
||||
"dist/open-sse/services/compression/engines/rtk/filters/generic-output.json",
|
||||
"dist/open-sse/services/compression/rules/en/filler.json",
|
||||
|
||||
Reference in New Issue
Block a user