diff --git a/AGENTS.md b/AGENTS.md index 336665fa..a18fd45c 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -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