Skip to content

armgit / mocha

Public Imported from GitHub
0

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

374 B
Raw Blame
'use strict';

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