Skip to content

armgit / mocha

Public Imported from GitHub
0

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

337 B
Raw Blame
'use strict';

describe('Uncaught exception within pending test', () => {
  it('test1', function () { });

  it('test2', function () {
    process.nextTick(function () {
      throw new Error('I am uncaught!');
    });
    this.skip();
  });

  it('test3 - should run', function () { });
  it('test4 - should run', function () { });
});