Compare commits

...

1 Commits

Author SHA1 Message Date
diegosouzapw
355d1305b8 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.
2026-09-16 10:07:46 -03:00
2 changed files with 2 additions and 0 deletions

View File

@@ -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))

View File

@@ -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",