Spectron make sure all the process are closed after app exit

前端 未结 0 689
隐瞒了意图╮
隐瞒了意图╮ 2021-02-01 01:51

I am writing a spectron test to verify if all the processes are closed with app exit. Here is a copy of my code.

  const pid = app.mainProcess;
  await app.stop()         


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