☕️ Classic, reliable, trusted test framework for Node.js and the browser
'use strict';
describe('outer describe', function () {
it('should run this test', function () {});
describe('skip in before', function () {
before(function (done) {
var self = this;
setTimeout(function () {
self.skip(); // done() is not required
}, 0);
});
it('should never run this test', function () {
throw new Error('never run this test');
});
it('should never run this test', function () {
throw new Error('never run this test');
});
});
it('should run this test', function () {});
});