Skip to content

Instantly share code, notes, and snippets.

@jvanderbiest
Created December 20, 2014 11:06
Show Gist options
  • Save jvanderbiest/175ac961bdfc1edd9ee7 to your computer and use it in GitHub Desktop.
Save jvanderbiest/175ac961bdfc1edd9ee7 to your computer and use it in GitHub Desktop.
Karma PhantomJS basic configuration for Codit.Blog.JsVsoBuild
module.exports = function(config) {
config.set({
basePath: 'Codit.Blog.JsVsoBuild',
frameworks: ['jasmine'],
files: [
'Scripts/angular.js',
'app/**/*.js',
'Scripts/angular-mocks.js',
'tests/unit/**/*Specs.js'
],
reporters: ['progress'],
port: 9876,
colors: true,
logLevel: config.LOG_INFO,
autoWatch: false,
browsers: ['PhantomJS'],
captureTimeout: 60000,
singleRun: true
});
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment