1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2024-12-05 16:24:21 +01:00
fab-manager/vendor/assets/components/angular-moment/karma.conf.js
2015-05-05 03:10:25 +02:00

37 lines
877 B
JavaScript

/* License: MIT.
* Copyright (C) 2013, 2014, 2015, Uri Shaked.
*/
'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/moment/moment.js',
'bower_components/moment/{locale,lang}/fr.js',
'bower_components/moment-timezone/moment-timezone.js',
'angular-moment.js',
// angular-mocks defines a global variable named 'module' which confuses moment-timezone.js.
// Therefore, it must be included after moment-timezone.js.
'bower_components/angular-mocks/angular-mocks.js',
'tests.js'
],
preprocessors: {
'angular-moment.js': 'coverage'
},
coverageReporter: {
type: 'lcov',
dir: 'coverage/'
}
});
};