You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If I'm trying to unit test a branch within with case(task, val) conditional block, and am mocking task, what is the best way to mock case or enter the conditional block for testing?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
If I'm trying to unit test a branch within
with case(task, val)
conditional block, and am mockingtask
, what is the best way to mockcase
or enter the conditional block for testing?Beta Was this translation helpful? Give feedback.
All reactions