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
Hello there,
I'm trying to mock and/or spy on Node's child_process module, but it doesn't seem like it's working. Any spies I add are never called, and any mocks I apply are never ran.
I've found #453, and I believe the behavior mentioned in this reply is the issue I'm facing.
My question is: Is there a way to get around this issue, or is it just not possible to mock this module for now?
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
-
Hello there,
I'm trying to mock and/or spy on Node's
child_process
module, but it doesn't seem like it's working. Any spies I add are never called, and any mocks I apply are never ran.I've found #453, and I believe the behavior mentioned in this reply is the issue I'm facing.
My question is: Is there a way to get around this issue, or is it just not possible to mock this module for now?
Beta Was this translation helpful? Give feedback.
All reactions