Mock a const function anyway to stub it ? #665
Unanswered
ricardomiguelmoura
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi peeps,
I have a technical doubt, I´ve been using a lot your library but I´ve noticed that mockProvider doesn´t create stub over functional code like const myFunc = () => { console.log('i´m not being stubbed because i´m a const ..')
Is there anyway to have it ?
Beta Was this translation helpful? Give feedback.
All reactions