How to test function that requires user input in command line using mocha, chai, and robotjs?

后端 未结 0 1193
有刺的猬
有刺的猬 2020-12-15 07:57

I am trying to unit test this function with mocha, chai, and robotjs. I am currently able to get robotjs to input data, but I am not able to test this function by itself. Ri

相关标签:
回答
  • 消灭零回复
提交回复
热议问题