I understand that __rewire_reset_all__ is injected globally but in my project eslint rule no-undef is yelling as it cannot find where the function is coming from. I have to add linter next line ignore in whenever I use the function. Does anyone know a better way to handle this?
I understand that
__rewire_reset_all__
is injected globally but in my project eslint ruleno-undef
is yelling as it cannot find where the function is coming from. I have to add linter next line ignore in whenever I use the function. Does anyone know a better way to handle this?