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

clearHandlers not supported in models #58

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);
harshitj2005 commented 6 years ago

created PR for this issue https://github.com/BlinkUX/sequelize-mock/pull/59