BlinkUX / sequelize-mock

A simple mock interface specifically for testing code relying on Sequelize models
https://sequelize-mock.readthedocs.io
MIT License
139 stars 73 forks source link

fixed support of clear handlers in models #59

Open harshitj2005 opened 6 years ago

harshitj2005 commented 6 years ago

hi,

i am trying to clear handlers in models but unable to do so. when i checked the module files then found it's not bind in models

this line should be added after line 190 in model.js this.$clearHandlers = this.$queryInterface.$clearHandlers.bind(this.$queryInterface);