compass-web/v2.5/target/bower_components/angular-spinner/karma.conf.js
Ming He 6e01037e55 fix gitignroe so bower_components are included in target folder
Change-Id: I97a6ec0d4584b821970bc0fbedf3c9b898773688
2015-12-21 10:19:15 -08:00

32 lines
665 B
JavaScript

/* License: MIT.
* Copyright (C) 2013, 2014, Uri Shaked and contributors.
*/
'use strict';
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
logLevel: config.LOG_INFO,
browsers: ['PhantomJS'],
autoWatch: true,
reporters: ['dots', 'coverage'],
files: [
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'bower_components/spin.js/spin.js',
'angular-spinner.js',
'tests.js'
],
preprocessors: {
'components/spin.js/spin.js': 'coverage',
'angular-spinner.js': 'coverage'
},
coverageReporter: {
type: 'lcov',
dir: 'coverage/'
}
});
};