src/sap.ui.core/src/sap/ui/thirdparty/qunit.js
function( handler ) {
		var hooks = [];

		// Hooks are ignored on skipped tests
		if ( this.skip ) {
			return hooks;
		}

		if ( this.module.testEnvironment &&
				QUnit.objectType( this.module.testEnvironment[ handler ] ) === "function" ) {
			hooks.push( this.queueHook( this.module.testEnvironment[ handler ], handler ) );
		}

		return hooks;
	}
function( handler ) {
		var hooks = [];

		// Hooks are ignored on skipped tests
		if ( this.skip ) {
			return hooks;
		}

		if ( this.module.testEnvironment &&
				QUnit.objectType( this.module.testEnvironment[ handler ] ) === "function" ) {
			hooks.push( this.queueHook( this.module.testEnvironment[ handler ], handler ) );
		}

		return hooks;
	}
function ( handler ) { var hooks = [ ] ; // Hooks are ignored on skipped tests if ( this . skip ) { return hooks ; } if ( this . module . testEnvironment && QUnit . objectType ( this . module . testEnvironment [ handler ] ) === "function" ) { hooks . push ( this . queueHook ( this . module . testEnvironment [ handler ] , handler ) ) ; } return hooks ; }
Currently only used for module level hooks, can be used to add global level ones
Currently only used for module level hooks can be used to add global level ones