Closed pergu closed 3 years ago
Could you make an entry into CHANGELOG.md
under ## [Unreleased] ### Fixed
as well? E.g.
- Fix calling mocked modules from expectations fun [\#232](https://github.com/eproxus/meck/pull/232)
(I changed it to modules
which I think is what you fixed, no?)
Alright, added the line to the changelog.
Thanks! 🎉
Before this change calling a mocked module from inside an expectation fun, and then calling meck:passthrough/1 raises an exception. This happens because the current call state is invalidated by the mocked function.