Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Add introspection of which modules are currently mocked
There's already an `meck:expects/[1,2]`, allowing introspection into what kind of expectations are set. This allows one to also check which modules is meck handling at any point. Introduced a `foldl_mocks` internal function to reuse the same logic for both `unload/0` and `mocked/0`
- Loading branch information
1 parent
23659f6
commit 1ed7933038d709faae7d7fa8152e2c07ad2d6e50
Showing
2 changed files
with
48 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters