static/iframes-adapter.js
function suiteComplete(result) {
		if (result.coverage) {
			coverageCollector.addCoverage(result.coverage);
		}

		// Have all suites completed?
		let completedSuites = suitesWithState('complete');
		if(Object.keys(completedSuites).length < Object.keys(suites).length) {
			return;
		}
		// All suites have completed, send the “complete” message to karma
		if(isDebug) {
			let [total, finished] = countTests();
			console.debug(`All ${Object.keys(suites).length} suites have completed, ran ${finished} of ${total} tests`);
		}
		if (result.coverage) {
			result.coverage = coverageCollector.getFinalCoverage();
		}
		karma.complete(result);
	}
function suiteComplete(result) {
		if (result.coverage) {
			coverageCollector.addCoverage(result.coverage);
		}

		// Have all suites completed?
		let completedSuites = suitesWithState('complete');
		if(Object.keys(completedSuites).length < Object.keys(suites).length) {
			return;
		}
		// All suites have completed, send the “complete” message to karma
		if(isDebug) {
			let [total, finished] = countTests();
			console.debug(`All ${Object.keys(suites).length} suites have completed, ran ${finished} of ${total} tests`);
		}
		if (result.coverage) {
			result.coverage = coverageCollector.getFinalCoverage();
		}
		karma.complete(result);
	}
function suiteComplete ( result ) { if ( result . coverage ) { coverageCollector . addCoverage ( result . coverage ) ; } // Have all suites completed? let completedSuites = suitesWithState ( 'complete' ) ; if ( Object . keys ( completedSuites ) . length < Object . keys ( suites ) . length ) { return ; } // All suites have completed, send the “complete” message to karma if ( isDebug ) { let [ total , finished ] = countTests ( ) ; console . debug ( ` ${ Object . keys ( suites ) . length } ${ finished } ${ total } ` ) ; } if ( result . coverage ) { result . coverage = coverageCollector . getFinalCoverage ( ) ; } karma . complete ( result ) ; }
Some suite has completed
Some suite has completed