Q:

jest test try catch

expect(() => {
   const model = new Sample(resolvedSample)
}).toThrow(TypeError);
0

New to Communities?

Join the community