Skip to content

Instantly share code, notes, and snippets.

@ericqweinstein
Created July 24, 2014 14:13
Show Gist options
  • Save ericqweinstein/86b6179c5a5a5aad4c6a to your computer and use it in GitHub Desktop.
Save ericqweinstein/86b6179c5a5a5aad4c6a to your computer and use it in GitHub Desktop.
Karma configuration file (for use with karma-browserify)
module.exports = function(config) {
config.set({
// Config is config/karma.js; project root is one level up.
basePath: '../'
, frameworks: ['jasmine', 'browserify']
, files: [
'spec/javascripts/**/*.js'
]
, preprocessors: {
'spec/javascripts/**/*.js': ['browserify']
}
, reporters: ['progress']
, port: 8888
, colors: true
, logLevel: config.LOG_DEBUG
, autoWatch: false
, singleRun: true
});
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment