Auto-generate fully-typed test spies from a class — across Vitest, Bun & node:test, with Angular/NestJS/React/Vue/Svelte recipes. A drop-in replacement for jest-auto-spies and jasmine-auto-spies, with a codemod that finishes the move.
Latest release v5.65.0 · 26 Oct 2026
3 files for Codex, OpenCode, Claude Code and Gemini CLI: vitest-auto-spy AGENTS.md, vitest-auto-spy CLAUDE.md, vitest-auto-spy GEMINI.md — 8,299 tokens loaded in every session.
AGENTS.md A 7,847 tok CLAUDE.md A 370 tok GEMINI.md A 82 tok These files are ASDAlexey/vitest-auto-spy's own configuration — they tell Codex, OpenCode, Claude Code and Gemini CLI how to work on this repository, so they are not mods to install elsewhere. Copy one as a starting point and replace the parts that are about this project.