Skip to content

Instantly share code, notes, and snippets.

@oliverm2112
Last active December 16, 2015 18:59
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save oliverm2112/5481675 to your computer and use it in GitHub Desktop.
Save oliverm2112/5481675 to your computer and use it in GitHub Desktop.
karma config
basePath = '';
files = [
JASMINE,
JASMINE_ADAPTER,
// 3rd-party
'../app/lib/angular-1.1.4.js',
'lib/angular-mocks.js',
'lib/angular-loader.js',
// App-specific
'../app/js/*.js',
'../app/js/**/*.js',
// Test specs
'unit/**/*.js'
];
// list of files to exclude
exclude = [
];
// test results reporter to use
// possible values: dots || progress
//reporters = ['progress', 'junit'];
reporters = ['dots', 'junit'];
// web server port
port = 8080;
// cli runner port
runnerPort = 9100;
// 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 = true;
// 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
singleRun = false;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment