I need to write a suite of tests in mocha that:
- prompt the user to perform an action with a physical device
- then pause until the user confirms they have performed the action
When running through mocha, I have no access to a TTY, so I think the usual "press any key" solution is out?
Can anyone think of another way I could pause on a user prompt in my tests?
Aucun commentaire:
Enregistrer un commentaire