Input in console during testing with Mocha
Hello there! In my tests, I need user input. But the console doesn't allow me to do it :( I found a solution for IDEA, but it doesn't work in PHPStorm. What can I do with that? Thank you!
请先登录再写评论。
Hello there! In my tests, I need user input. But the console doesn't allow me to do it :( I found a solution for IDEA, but it doesn't work in PHPStorm. What can I do with that? Thank you!
请先登录再写评论。
Please try enabling
nodejs.test.run.configurations.use.terminal.console
registry key should help (Help | Find Action | Registry) - does it help?If it doesn't, please share a sample code we can use to reproduce the issue. Also, what OS are you on?
Elena, you're my savior! You're the most wonderful girl in the world! You can't even imagine how much physical and moral pain you prevented! Thank you very much! I am absolutely happy now thanks to you.
Glad to help:)