Mock-fs doesn't seem to be compatible with sqlite3. When creating a new database, it fails with this error message:
SQLITE_CANTOPEN: unable to open database file
If I remove the mock({}); line from my unit tests, everything runs fine.
Any suggestions of what I could try to get it to work?
Mock-fs doesn't seem to be compatible with sqlite3. When creating a new database, it fails with this error message: SQLITE_CANTOPEN: unable to open database file
If I remove the
mock({});
line from my unit tests, everything runs fine.Any suggestions of what I could try to get it to work?