From fd9254d8e5b82d8a8a8e1b5a5300121eb0420cd6 Mon Sep 17 00:00:00 2001 From: arkon Date: Sun, 18 Jan 2026 23:18:43 +0100 Subject: [PATCH] docs: add testing commands to CLAUDE.md Include npm test scripts and vitest commands for running single test files and pattern matching. Co-Authored-By: Claude Opus 4.5 --- CLAUDE.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/CLAUDE.md b/CLAUDE.md index f1232286..3d847f7e 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -18,6 +18,13 @@ npm run clean # Remove dist/ npm link # Make 'claudeman' globally available claudeman web # Start web interface on port 3000 claudeman web -p 8080 # Custom port + +# Testing +npm run test # Run all tests once +npm run test:watch # Run tests in watch mode +npm run test:coverage # Run tests with coverage report +npx vitest run test/session.test.ts # Run single test file +npx vitest run -t "should create session" # Run tests matching pattern ``` ## Architecture