Skip to content

Commit

Permalink
restore tests
Browse files Browse the repository at this point in the history
  • Loading branch information
patrickarlt committed Jul 20, 2015
1 parent f6baafe commit afa0db2
Showing 1 changed file with 20 additions and 21 deletions.
41 changes: 20 additions & 21 deletions karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,16 +24,15 @@ module.exports = function (config) {

// preprocess matching files before serving them to the browser
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
// preprocessors: {
// 'dist/**/*.js': ['sourcemap', 'coverage']
// },
preprocessors: {
'dist/**/*.js': ['sourcemap', 'coverage']
},


// test results reporter to use
// possible values: 'dots', 'progress'
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
reporters: ['progress'],
// reporters: ['mocha', 'coverage'],
reporters: ['mocha', 'coverage'],

// web server port
port: 9876,
Expand Down Expand Up @@ -63,21 +62,21 @@ module.exports = function (config) {
singleRun: true,

// Configure the coverage reporters
// coverageReporter: {
// instrumenters: {
// isparta: require('isparta')
// },
// instrumenter: {
// 'src/**/*.js': 'isparta'
// },
// reporters: [
// {
// type: 'html',
// dir: 'coverage/'
// }, {
// type: 'text'
// }
// ]
// }
coverageReporter: {
instrumenters: {
isparta: require('isparta')
},
instrumenter: {
'src/**/*.js': 'isparta'
},
reporters: [
{
type: 'html',
dir: 'coverage/'
}, {
type: 'text'
}
]
}
});
};

0 comments on commit afa0db2

Please sign in to comment.