kopia lustrzana https://github.com/c9/core
cleanups
rodzic
f1b14e0117
commit
80867587eb
|
@ -4,7 +4,7 @@ module.exports = function(module, reporter, options) {
|
|||
global.onload = undefined;
|
||||
var file = module.filename;
|
||||
var Mocha = require("mocha");
|
||||
var mocha = new Mocha({globals: ['error']});
|
||||
var mocha = new Mocha(options || {});
|
||||
mocha.reporter(reporter || "spec");
|
||||
var suite = mocha.suite;
|
||||
suite.emit('pre-require', global, file, mocha);
|
||||
|
|
Ładowanie…
Reference in New Issue