Open LoveAndCoding opened 6 years ago
@ktsashes I've submitted PR #61 (with test cases) to handle this. Would appreciate a review/merge when you can.
So #61 was merged, but not part of the release. Right now, my package.json
includes this library like:
"devDependencies": {
"sequelize-mock": "git://github.com/BlinkUX/sequelize-mock.git#2cc4dbddf8b36f0ba6ff149cac3f33a84494c4ba",
}
Which isn't ideal. Could someone cut a new release?
Import supports when a module is exported with the Node
module.exports
syntax but not theexport default
ES6 syntax. Sequelize supports both methods under the hood by checking for the type of the export on require. We should be doing the same thing.First reported in issue #35