[DX] Documented plugin test command fails because nemoclaw/package.json has no test script
[DX] Documented plugin test command fails because nemoclaw/package.json has no test script
Summary
The contributor guide documents cd nemoclaw && npm test as the plugin unit-test command, but the plugin package does not define a test script.
Why it matters
External contributors following the documented setup hit npm error Missing script: "test" before they can verify plugin changes. This is a small developer-experience paper cut, but it affects the first local validation path for plugin contributions.
Evidence
CONTRIBUTING.mdlistscd nemoclaw && npm testunder Main Tasks.CLAUDE.mdandAGENTS.mdalso listcd nemoclaw && npm testas the plugin test command.nemoclaw/package.jsonhasbuild,dev,lint,lint:fix,format,format:check,check, andclean, but notest.- Running
cd nemoclaw && npm install && npm testcurrently fails with:
npm error Missing script: "test"
Reproduction or verification
Safe local steps:
cd nemoclaw
npm install
npm test
Expected: plugin Vitest suite runs.
Actual: npm reports that the test script is missing.
Proposed fix
Add a test script to nemoclaw/package.json:
"test": "vitest run"
This aligns the package with the existing contributor docs and the Vitest dependency already declared in the plugin package.
Test plan
cd nemoclaw && npm testcd nemoclaw && npm run check
Contribution offer
I’m happy to work on this if maintainers agree with the direction.
I think it is fixed in #3367
Ohh, Thanks for the pointer. I checked #3367 and you’re right. My fault I’ll close this as resolved by #3367.
Closing as already-fixed on main.
nemoclaw/package.json now has:
"test": "vitest run --config vitest.config.ts",
cd nemoclaw && npm install && npm test runs the plugin Vitest suite as documented in CONTRIBUTING.md and CLAUDE.md. Re-open if it still errors with Missing script: "test" on the latest main.