Answers for "try catch inside jest test"

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