vitest-drizzle-mock

JSON →
library 0.6.0 ·javascript
verified Jun 5, 2026

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.