API Testing

Testing patterns for MCP tool/resource handlers using `createMockContext` and Vitest. Covers mock context options, handler testing, McpError assertions, format testing, Vitest config setup, and test isolation conventions.

cyanheads 7a39f90 24.5 KB Updated

File contents

cyanheads/obsidian-mcp-server commit 7a39f906bd

Frequently asked questions

npx skillmds@latest add cyanheads/api-testing