I'm looking to do something similar that's posed in the following question: how to reset module imported between tests
This works, however it resets ALL modules. I only want/need to reload a single module and can't figure out how to accomplish it.
JEST.isolateModules
seems like the solution but i haven't been able to get it to work.
Anyone have any examples of reloading just a single module in a JEST test?