Problem
PRs #106, #107, #110, #111, #112, and #113 each add vitest as a devDependency in backend/package.json and add a backend/vitest.config.ts, but none of them add a "test" script to the scripts block.
As a result, running npm test --prefix backend (or any CI step that calls npm test) silently fails with "missing script: test" on all six of those branches. Only PRs #108 and #109 correctly add the test script.
Fix required
In backend/package.json, the scripts block needs:
This should be added to all PRs that introduce vitest but lack the script (#106, #107, #110, #111, #112, #113) before merge, or landed as a follow-up immediately after they merge.
Affected PRs
Problem
PRs #106, #107, #110, #111, #112, and #113 each add
vitestas adevDependencyinbackend/package.jsonand add abackend/vitest.config.ts, but none of them add a"test"script to thescriptsblock.As a result, running
npm test --prefix backend(or any CI step that callsnpm test) silently fails with "missing script: test" on all six of those branches. Only PRs #108 and #109 correctly add the test script.Fix required
In
backend/package.json, thescriptsblock needs:This should be added to all PRs that introduce vitest but lack the script (#106, #107, #110, #111, #112, #113) before merge, or landed as a follow-up immediately after they merge.
Affected PRs