docs: fix test command path for vitest via tsx

This commit is contained in:
Mario Zechner 2026-02-06 11:38:11 +01:00
parent b050c582a1
commit 961d3aacbc

View file

@ -23,7 +23,7 @@ read README.md, then ask which module(s) to work on. Based on the answer, read t
- After code changes (not documentation changes): `npm run check` (get full output, no tail). Fix all errors, warnings, and infos before committing.
- Note: `npm run check` does not run tests.
- NEVER run: `npm run dev`, `npm run build`, `npm test`
- Only run specific tests if user instructs: `npx tsx ./node_modules/vitest/vitest.mjs --run test/specific.test.ts`
- Only run specific tests if user instructs: `npx tsx ../../node_modules/vitest/dist/cli.js --run test/specific.test.ts`
- Run tests from the package root, not the repo root.
- When writing tests, run them, identify issues in either the test or implementation, and iterate until fixed.
- NEVER commit unless user asks