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.
 

20 lines
392 B

var context = global;
if( context.describe ){
return;
}
var SimpleMocha = require( './index-v1' );
var sm = new SimpleMocha();
sm.onLoad = function(){
sm.rootDescribeBlock.run();
}
context.describe = sm.describe;
context.it = sm.it;
context.before = sm.before;
context.after = sm.after;
context.beforeEach = sm.beforeEach;
context.afterEach = sm.afterEach;