Add RunContext test helpers (Fix #498)#506
Conversation
|
BTW, I didn't wanted to add promises or any extra async handler, so I manage a basic counter to delay the generator from running until async actions ends. It may seems sketchy, but I believe it'll work in this context. Also, we use |
Inquirer API allow a single prompt item to be passed as parameter. `mockPrompt` must also work with this signature.
There was a problem hiding this comment.
i think a note on where this is relative to would be good
|
Fixed documentation and tests. |
|
|
|
@eddiemonge Any suggestion as to how we should name it? |
|
I don't know. |
|
Ok, gone with |
Add RunContext test helpers (Fix #498)
|
|
Followup complete implementation of the ideas presented in issue #498.