lib/render.js
function( assert ) {
		var stack = [], depends, i, l, module;

		// Should only be checking dependencies when in compile mode
		render.requireMinState( munit.RENDER_STATE_COMPILE, render.checkDepency );

		// Build up the list of dependency paths
		do {
			depends = assert.option( 'depends' );

			// Allow single path
			if ( munit.isString( depends ) ) {
				stack.push( depends );
			}
			// Add to stack of module dependencies
			else if ( munit.isArray( depends ) ) {
				stack = stack.concat( depends );
			}
		} while ( assert = assert.parAssert );

		// Check each dependency for completion
		for ( i = -1, l = stack.length; ++i < l; ) {
			if ( munit( stack[ i ] || '' ).state < munit.ASSERT_STATE_CLOSED ) {
				return false;
			}
		}

		return true;
	}
function( assert ) {
		var stack = [], depends, i, l, module;

		// Should only be checking dependencies when in compile mode
		render.requireMinState( munit.RENDER_STATE_COMPILE, render.checkDepency );

		// Build up the list of dependency paths
		do {
			depends = assert.option( 'depends' );

			// Allow single path
			if ( munit.isString( depends ) ) {
				stack.push( depends );
			}
			// Add to stack of module dependencies
			else if ( munit.isArray( depends ) ) {
				stack = stack.concat( depends );
			}
		} while ( assert = assert.parAssert );

		// Check each dependency for completion
		for ( i = -1, l = stack.length; ++i < l; ) {
			if ( munit( stack[ i ] || '' ).state < munit.ASSERT_STATE_CLOSED ) {
				return false;
			}
		}

		return true;
	}
function ( assert ) { var stack = [ ] , depends , i , l , module ; // Should only be checking dependencies when in compile mode render . requireMinState ( munit . RENDER_STATE_COMPILE , render . checkDepency ) ; // Build up the list of dependency paths do { depends = assert . option ( 'depends' ) ; // Allow single path if ( munit . isString ( depends ) ) { stack . push ( depends ) ; } // Add to stack of module dependencies else if ( munit . isArray ( depends ) ) { stack = stack . concat ( depends ) ; } } while ( assert = assert . parAssert ) ; // Check each dependency for completion for ( i = - 1 , l = stack . length ; ++ i < l ; ) { if ( munit ( stack [ i ] || '' ) . state < munit . ASSERT_STATE_CLOSED ) { return false ; } } return true ; }
Checks test modules depencies to see if it can be run
Checks test modules depencies to see if it can be run