mirror of
https://github.com/LaCasemate/fab-manager.git
synced 2024-12-01 12:24:28 +01:00
39 lines
1007 B
JavaScript
39 lines
1007 B
JavaScript
module.exports = function(config) {
|
|
config.set({
|
|
// base path, that will be used to resolve files and exclude
|
|
basePath: '',
|
|
|
|
// testing framework to use (jasmine/mocha/qunit/...)
|
|
frameworks: ['jasmine'],
|
|
|
|
// list of files / patterns to load in the browser
|
|
files: [
|
|
'test/support/angular/angular.js',
|
|
'test/support/angular-mocks/angular-mocks.js',
|
|
'test/devise.js',
|
|
'src/*.js',
|
|
'test/mock/**/*.js',
|
|
'test/spec/**/*.js'
|
|
],
|
|
|
|
// list of files / patterns to exclude
|
|
exclude: [],
|
|
|
|
// web server port
|
|
port: 8080,
|
|
|
|
// level of logging
|
|
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
|
|
logLevel: config.LOG_INFO,
|
|
|
|
|
|
// enable / disable watching file and executing tests whenever any file changes
|
|
autoWatch: true,
|
|
|
|
|
|
browsers: ['Chrome'],
|
|
|
|
singleRun: true
|
|
});
|
|
};
|