Created
July 24, 2014 14:13
-
-
Save ericqweinstein/86b6179c5a5a5aad4c6a to your computer and use it in GitHub Desktop.
Karma configuration file (for use with karma-browserify)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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