2015-01-04 00:59:22 +00:00
|
|
|
// base path, that will be used to resolve files and exclude
|
|
|
|
basePath = '../..';
|
|
|
|
|
|
|
|
// list of files / patterns to load in the browser
|
|
|
|
files = [
|
2015-08-25 05:59:54 +00:00
|
|
|
JASMINE,
|
|
|
|
JASMINE_ADAPTER,
|
|
|
|
'dist/angular.js',
|
2015-09-13 21:39:51 +00:00
|
|
|
'dist/vendor.js',
|
2016-09-04 02:50:37 +00:00
|
|
|
'dist/portainer.js',
|
2015-09-13 21:39:51 +00:00
|
|
|
'bower_components/angular-mocks/angular-mocks.js',
|
|
|
|
'test/unit/**/*.spec.js'
|
2015-01-04 00:59:22 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
// use dots reporter, as travis terminal does not support escaping sequences
|
|
|
|
// possible values: 'dots' || 'progress'
|
|
|
|
reporters = 'progress';
|
|
|
|
|
|
|
|
// these are default values, just to show available options
|
|
|
|
|
|
|
|
// web server port
|
|
|
|
port = 8089;
|
|
|
|
|
|
|
|
// cli runner port
|
|
|
|
runnerPort = 9109;
|
|
|
|
|
|
|
|
urlRoot = '/__test/';
|
|
|
|
|
|
|
|
// enable / disable colors in the output (reporters and logs)
|
|
|
|
colors = true;
|
|
|
|
|
|
|
|
// level of logging
|
|
|
|
// possible values: LOG_DISABLE || LOG_ERROR || LOG_WARN || LOG_INFO || LOG_DEBUG
|
|
|
|
logLevel = LOG_INFO;
|
|
|
|
|
|
|
|
// enable / disable watching file and executing tests whenever any file changes
|
|
|
|
autoWatch = false;
|
|
|
|
|
|
|
|
// polling interval in ms (ignored on OS that support inotify)
|
|
|
|
autoWatchInterval = 0;
|
|
|
|
|
|
|
|
// Start these browsers, currently available:
|
|
|
|
// - Chrome
|
|
|
|
// - ChromeCanary
|
|
|
|
// - Firefox
|
|
|
|
// - Opera
|
|
|
|
// - Safari
|
|
|
|
// - PhantomJS
|
|
|
|
browsers = ['Chrome'];
|
|
|
|
|
|
|
|
// Continuous Integration mode
|
|
|
|
// if true, it capture browsers, run tests and exit
|
2015-04-29 02:09:03 +00:00
|
|
|
singleRun = true;
|