Skip to content

armgit / mocha

Public Imported from GitHub
0

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

373 B
Raw Blame
'use strict';

describe('spec 1', function () {
  it('should pass', function () { });
  describe('spec 2 nested - this title should be used', function () {
    after(function() {
      throw new Error('after hook nested error');
    });
    describe('spec 3 nested', function () {
        it('it nested - this title should not be used', function () { });
    });
  });
});