Lines Matching refs:mocha
969 suite.on('pre-require', function(context, file, mocha){ argument
977 context.run = mocha.options.delay && common.runWithSuite(suite);
1013 mocha.grep(suite.fullTitle());
1039 mocha.grep(new RegExp(reString));
1231 suite.on('pre-require', function(context, file, mocha){ argument
1239 context.run = mocha.options.delay && common.runWithSuite(suite);
1258 mocha.grep(suite.fullTitle());
1281 mocha.grep(new RegExp(reString));
1329 suite.on('pre-require', function(context, file, mocha){ argument
1337 context.run = mocha.options.delay && common.runWithSuite(suite);
1370 mocha.grep(suite.fullTitle());
1395 mocha.grep(new RegExp(reString));
6459 mocha = global.mocha = new Mocha({ reporter: 'html' });
6464 mocha.suite.removeAllListeners('pre-require');
6497 mocha.throwError = function(err) {
6509 mocha.ui = function(ui){
6519 mocha.setup = function(opts){
6533 mocha.run = function(fn){
6534 var options = mocha.options;
6535 mocha.globals('location');
6538 if (query.grep) mocha.grep(new RegExp(query.grep));
6539 if (query.fgrep) mocha.grep(query.fgrep);
6540 if (query.invert) mocha.invert();
6542 return Mocha.prototype.run.call(mocha, function(err){ argument