Skip to content

armgit / mocha

Public Imported from GitHub
0

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

289 B
Raw Blame
'use strict';

describe('uncaught', function () {
  beforeEach(function (done) {
    process.nextTick(function () {
      throw new Error('oh noes');
    });
  });

  it('test', function (done) {
    process.nextTick(function () {
      throw new Error("I'm uncaught!");
    });
  });
});