Replies: 1 comment 4 replies
-
You'll want to use the stub function from the testing lib.
|
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I write a function to wrap
prompt
function, and I trying to write a test case, I don't know how to mock user input, Have any ideas to mock it?Beta Was this translation helpful? Give feedback.
All reactions