MySQL Emulator
JSON →MySQL emulator that runs entirely in Node.js without a real MySQL server, designed for end-to-end testing. Current version 0.1.0 is in active development with known limitations (no RIGHT JOIN, no timezone support, partial INFORMATION_SCHEMA). It integrates with Sequelize 6+ and TypeORM 0.3+ via peer dependencies, supporting common SQL operations including SELECT, INSERT, UPDATE, DELETE, foreign key constraints, and basic functions. Unlike MySQL mock libraries that only intercept queries, this emulator parses and executes SQL internally, providing more realistic behavior for e2e tests.
Resources
packagemysql-emulator ↗