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.
39 lines
499 B
39 lines
499 B
'use strict';
|
|
|
|
|
|
module.exports = function (config) {
|
|
|
|
config.set({
|
|
|
|
browsers: ['PhantomJS'],
|
|
|
|
frameworks: ['browserify', 'mocha'],
|
|
|
|
files: [
|
|
'test/**/*.spec.js'
|
|
],
|
|
|
|
preprocessors: {
|
|
'test/**/*.spec.js': ['browserify']
|
|
},
|
|
|
|
reporters: ['mocha'],
|
|
|
|
client: {
|
|
mocha: {
|
|
reporter: 'tap'
|
|
}
|
|
},
|
|
|
|
plugins: [
|
|
'karma-browserify',
|
|
'karma-mocha',
|
|
'karma-mocha-reporter',
|
|
'karma-phantomjs-launcher'
|
|
]
|
|
|
|
});
|
|
|
|
};
|
|
|