From 961d3aacbc9ac5145ac40448960582e3f44d7c4a Mon Sep 17 00:00:00 2001 From: Mario Zechner Date: Fri, 6 Feb 2026 11:38:11 +0100 Subject: [PATCH] docs: fix test command path for vitest via tsx --- AGENTS.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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