☕️ Classic, reliable, trusted test framework for Node.js and the browser
it('should emit an unhandled rejection', async function() { setTimeout(() => { Promise.resolve().then(() => { throw new Error('yikes'); }); }); });