You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.
angularjs-batarang/karma-inject.conf.js

46 lines
782 B
JavaScript

// Karma configuration for testing injected AngularJS instrumentation
module.exports = function (config) {
config.set({
basePath: '',
frameworks: ['jasmine'],
files: [
'test/inject/mock/*.js',
'content-scripts/inject.build.js',
'bower_components/angular/angular.js',
'bower_components/angular-mocks/angular-mocks.js',
'test/inject/*.js'
],
preprocessors: {
'content-scripts/inject.build.js': ['coverage']
},
exclude: [
'*.min.js'
],
reporters: ['progress', 'coverage'],
coverageReporter: {
type : 'html',
dir : 'coverage/'
},
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
singleRun: false
});
};