QUnit.moduleStart()


QUnit.moduleStart( callback )

Description: Register a callback to fire whenever a module begins.

Example:

Register a callback that logs the module name

1
2
3
QUnit.moduleStart(function( details ) {
console.log( "Now running: ", details.name );
});