How to use the prototype function from mocha
Find comprehensive JavaScript mocha.prototype code examples handpicked from public code repositorys.
GitHub: MJ-NCEPU/Django
5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772
throw err; }; /** * Override ui to ensure that the ui functions are initialized. * Normally this would happen in Mocha.prototype.loadFiles. */ mocha.ui = function(ui){ Mocha.prototype.ui.call(this, ui);
2
2
0
+ 20 other calls in file
GitHub: Hein61529/YMS-project
6543 6544 6545 6546 6547 6548 6549 6550 6551 6552
var query = Mocha.utils.parseQuery(global.location.search || ''); if (query.grep) mocha.grep(new RegExp(query.grep)); if (query.fgrep) mocha.grep(query.fgrep); if (query.invert) mocha.invert(); return Mocha.prototype.run.call(mocha, function(err){ // The DOM Document is not available in Web Workers. var document = global.document; if (document && document.getElementById('mocha') && options.noHighlighting !== true) { Mocha.utils.highlightTags('code');
1
0
0
+ 2 other calls in file
mocha.utils is the most popular function in mocha (4328 examples)