You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
568 B
20 lines
568 B
// https://github.com/Nikku/karma-browserify
|
|
module.exports = function (config) {
|
|
config.set({
|
|
browsers: ['PhantomJS'],
|
|
frameworks: ['browserify', 'jasmine'],
|
|
files: ['test/unit/**/*.js'],
|
|
reporters: ['spec'],
|
|
preprocessors: {
|
|
'test/unit/**/*.js': ['browserify']
|
|
},
|
|
browserify: {
|
|
debug: true,
|
|
// needed to enable mocks
|
|
plugin: [require('proxyquireify').plugin]
|
|
},
|
|
// if you want to continuously re-run tests on file-save,
|
|
// replace the following line with `autoWatch: true`
|
|
singleRun: true
|
|
})
|
|
}
|