6 lines
100 B
TypeScript
6 lines
100 B
TypeScript
test.failing("no crash", () => {
|
|
expect(() => {
|
|
throw undefined;
|
|
}).toThrow(TypeError);
|
|
});
|