Jasmine test expect 'toThrowError' custom error not work

前端 未结 0 863
走了就别回头了
走了就别回头了 2021-01-02 03:36

Why jasmine test does not work as expected on this code:

it(\'toThrowError test case\', () => {
   expect(() => { throw new ArgumentOutOfRangeException(         


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