vitest-drizzle-mock
JSON →Mock drizzle-orm database instances for fast, in-memory unit testing with Vitest. No database required. v0.6.0 supports all drizzle drivers (PostgreSQL, MySQL, SQLite) and provides a MockController API with onSelect, onInsert, onUpdate, onDelete operations. Actively maintained. Key differentiator: tight integration with drizzle's mock method, full column autocomplete, and subset matching for values.
Resources
packagevitest-drizzle-mock ↗
API endpoints
full doc /v1/registry/vitest-drizzle-mock