src/karma/zkarma.js
function createKarmaTypescriptConfig(tsconfigJson, coverageDir) {
    return {
        tsconfig: tsconfigJson,
            
        coverageOptions: {
            instrumentation: !isDebug()
        },
            
        reports: {
            'cobertura': {
                directory: coverageDir,
                subdirectory: 'cobertura',
                filename: 'coverage.xml'
            },
            'html': {
                directory: coverageDir,
                subdirectory: '.'
            },
            'text-summary': null
        }
    };
}
function createKarmaTypescriptConfig(tsconfigJson, coverageDir) {
    return {
        tsconfig: tsconfigJson,
            
        coverageOptions: {
            instrumentation: !isDebug()
        },
            
        reports: {
            'cobertura': {
                directory: coverageDir,
                subdirectory: 'cobertura',
                filename: 'coverage.xml'
            },
            'html': {
                directory: coverageDir,
                subdirectory: '.'
            },
            'text-summary': null
        }
    };
}
function createKarmaTypescriptConfig ( tsconfigJson , coverageDir ) { return { tsconfig : tsconfigJson , coverageOptions : { instrumentation : ! isDebug ( ) } , reports : { 'cobertura' : { directory : coverageDir , subdirectory : 'cobertura' , filename : 'coverage.xml' } , 'html' : { directory : coverageDir , subdirectory : '.' } , 'text-summary' : null } } ; }
Creates an object that represents a karma typescript config object.

@param {String} tsconfigJson The relative path to the tsconfig.json file.
@param {String} coverageDir The coverage report directory.

@return {Object} The common options for a karma typescript configuration.
Creates an object that represents a karma typescript config object .