Jest expect exception not working with async

前端 未结 0 1702
天涯浪人
天涯浪人 2021-02-02 04:15

I am writing a test that supposedly should catch an exception

describe(\'unauthorized\', () => {
  const client         


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