Jest is something which millions of people uses everyday, a lot of questions are answered. But I keep finding something new for me every day.
This is not gonna work:
describe('throw test', () => {
it('should throw the error', () => {
expect(throwingFunc()).toThrow();
});
});
Test will fail with the error you are looking