Skip to content

fix: add 'test' script to backend/package.json (missing in PRs #106, #107, #110, #111, #112, #113) #114

@bmersereau

Description

@bmersereau

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:

"test": "vitest run"

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions