Skip to content

armgit / mocha

Public Imported from GitHub
0

☕️ Classic, reliable, trusted test framework for Node.js and the browser

286 B
Raw Blame
'use strict';

describe('Uncaught exception - throw and exit', () => {
  it('test1', () => {
    setTimeout(() => {
      throw new Error('Uncaught error after test1');
    }, 1);
  });
  it('test2', function () { });
  it('test3', function () { });
  it('test4', function () { });
});