files: [ // Detailed pattern to include a file. Similarly other options can be used { pattern: 'lib/angular.js', watched: false }, // Prefer to have watched false for library files. No need to watch them for changes // simple pattern to load the needed testfiles // equal to {pattern: 'test/unit/*.spec.js', watched: true, served: true, included: true} 'test/unit/*.spec.js', // this file gets served but will be ignored by the watcher // note if html2js preprocessor is active, reference as `window.__html__['compiled/index.html']` {pattern: 'compiled/index.html', watched: false}, // this file only gets watched and is otherwise ignored {pattern: 'app/index.html', included: false, served: false}, // this file will be served on demand from disk and will be ignored by the watcher {pattern: 'compiled/app.js.map', included: false, served: true, watched: false, nocache: true}, {pattern: 'src/**/*.spec.js', watched:true, served:true, included: true}, {pattern: 'src/**/*.spec.ts', watched:true, served:true, included: true}, {pattern: 'test/**/*.js', watched:true, served:true, included: true} /*parameters: watched: if autoWatch is true all files that have watched set to true will be watched for changes served: should the files be served by Karma's webserver? included: should the files be included in the browser using