vormjs
Version:
Write your forms in JSON and HTML, use the same API.
29 lines (25 loc) • 532 B
JavaScript
/*global module*/
module.exports = function ( config ) {
config.set({
basePath: '.',
autoWatch: true,
frameworks: [ 'jasmine' ],
browsers: [ 'PhantomJS'],
plugins: [
'karma-phantomjs-launcher',
'karma-jasmine',
'karma-babel-preprocessor',
'karma-coverage'
],
reporters: [ 'progress', 'coverage' ],
preprocessors: {
'./src/**/*.js': [ 'babel', 'coverage' ],
'./test/**/*.js': [ 'babel' ]
},
babelPreprocessor: {
options: {
auxiliaryComment: 'istanbul ignore next'
}
}
});
};