feat(testing): configure ignored routes in test server - #793
hugosmoreira wants to merge 2 commits into
Conversation
|
I've added regression coverage for both ignored routes, default/empty/custom options, error propagation, and the installed public The full suite passes locally: 126 tests on Windows with Node 22.22.1. The new cases fail as expected when the option pass-through is bypassed. Packed CommonJS/ESM consumers, strict TypeScript declaration checks, lint/build/docs, and all six non-Docker conformance groups also pass. I've updated the PR description with the verification details and environments. The seven failure-labelled verification workflow runs on the previous revision expired awaiting approval and had no jobs. Could a maintainer approve/rerun the checks for this update? The hosted OS/Node matrix and buildpack checks still need to run. |
Summary
TestServerOptionsbag togetTestServerignoredRoutesthrough while preserving the existing default behavior/testingentry pointFixes #778
Validation
Local verification on Windows with Node 22.22.1 (generated API docs checked separately with Node 24.18.0):
npm test -- --reporter dot: 126 passing, including 24 HTTP integration cases and two pack-and-install testsignoredRoutespass-through causes eight HTTP cases and the new installed-package test to fail as expectedTestServerOptionsdeclaration checks pass with strict TypeScript 5.8.2, both Node16 and legacy Node10 module resolution, withoutskipLibChecknpm run check, compilation, changed-file ESLint/Prettier, andgit diff --checkpass; lint has one unchanged unused-generic warning also present on the parentnpm run docspasses and generated documentation is unchangedConformance used the same framework CLI directly on Windows to avoid an npm wrapper process; it was not a hosted Linux workflow run. The hosted OS/Node matrix and buildpack checks remain pending; the seven failure-labelled verification workflows on the previous revision expired awaiting approval without executing jobs.