Jest Prueba intente captar
expect(() => {
const model = new Sample(resolvedSample)
}).toThrow(TypeError);
Old-fashioned Opossum
expect(() => {
const model = new Sample(resolvedSample)
}).toThrow(TypeError);