Testing code that uses process.on('unhandledRejection') with AVA

后端 未结 0 492
醉酒成梦
醉酒成梦 2021-02-12 11:07

How do I use AVA to test a library that registers an unhandledRejection callback:

  process.on(\'unhandledRejection\', e =>
    // do something ef         


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