Answers for "jest check catch error"

CSS
0

jest test try catch

expect(() => {
   const model = new Sample(resolvedSample)
}).toThrow(TypeError);
Posted by: Guest on June-25-2020

Browse Popular Code Answers by Language