You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I started using your library, because seems to be extremely useful in my project. Unfortunately, while running jest test, an error occurs:
TypeError: Utils.stack(...).getFileName is not a function
at Sequelize.Object.<anonymous>.Sequelize.import (node_modules/sequelize-mock/src/sequelize.js:332:44)
Ah I missed support for export default in their code base. I will try to add support for that when I get a chance. I've added a separate bug for that as issue #36
Hello everyone!
I started using your library, because seems to be extremely useful in my project. Unfortunately, while running
jest
test, an error occurs:It points to line:
sequelize-mock/src/sequelize.js
Line 332 in edac5af
Reference to original
sequelize
models looks like:All import paths were overriden by
$overrideImport
method in many ways, but none succeeded.What could be the reason of that behaviour?
Thank you in advance for any response.
The text was updated successfully, but these errors were encountered: