Jiken.Loaders.Unmock (Jiken v0.0.1)

View Source

This module handles the reverting of a mocked module.

Currently, it reloads the whole original module.

We will make it reload only specific functions, so that we can dynamically mock different parts of modules.

Summary

Functions

reset(module)

@spec reset(module()) :: :ok | {:error, :not_found}