Closed ElishaHouzz closed 5 months ago
When running multple tests that use transactions we might fails on SQLITE_BUSY: database is locked error. To prevent this I added transactionType: 'IMMEDIATE' to the mock sequelize options.
SQLITE_BUSY: database is locked
transactionType: 'IMMEDIATE'
More info
When running multple tests that use transactions we might fails on
SQLITE_BUSY: database is locked
error. To prevent this I addedtransactionType: 'IMMEDIATE'
to the mock sequelize options.More info