You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
339 B
11 lines
339 B
var root = require('./root');
|
|
exports = function() {
|
|
for (var i = 0, len = methods.length; i < len; i++) {
|
|
var method = methods[i];
|
|
if (typeof root[method] !== 'function') return false;
|
|
}
|
|
return true;
|
|
};
|
|
var methods = ['afterEach', 'after', 'beforeEach', 'before', 'describe', 'it'];
|
|
|
|
module.exports = exports;
|
|
|