Run tests using vitest MCP.
Project Roots
| Package | Path |
|---|---|
| Core | /Users/pablo/development/personal/kaiord/packages/core |
| Frontend | /Users/pablo/development/personal/kaiord/packages/workout-spa-editor |
Test Patterns
| Type | Pattern | Location |
|---|---|---|
| Unit | *.test.ts | Co-located with source |
| Integration | *-integration.test.ts | Same directory |
| Round-trip | round-trip/*.test.ts | src/tests/round-trip/ |
| E2E | *.spec.ts | e2e/ (frontend only) |
Usage
- •
Set project root:
codemcp__vitest__set_project_root({ path: "<project-path>" }) - •
Run tests:
codemcp__vitest__run_tests({ target: "<file-or-dir>" }) - •
List available tests:
codemcp__vitest__list_tests({ path: "<optional-dir>" })
Example
code
/test packages/core/src/adapters/fit