Cannot read property 'toReturn' of undefined
bytefluxio opened this issue · 2 comments
bytefluxio commented
I can't seem to delete this. Figured it out :)
alonronin commented
If you mind to share, it would be great.
jhonny111s commented
in my case this error raises when i do not use "default" in my require const mockingoose = require('mockingoose').default;
, then could you explain me why i have to use default?