Skip to content

Commit

Permalink
Merge pull request #23 from leftiness/istanbul
Browse files Browse the repository at this point in the history
Istanbul ignores libs
  • Loading branch information
goodbomb committed Jun 29, 2015
2 parents 57174aa + d8ebde2 commit 101524f
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
// Karma configuration

var istanbul = require('browserify-istanbul');

'use strict';

module.exports = function (config) {
Expand Down Expand Up @@ -33,7 +35,9 @@ module.exports = function (config) {

browserify: {
debug: true,
transform: ['debowerify', 'html2js-browserify', 'browserify-istanbul'],
transform: ['debowerify', 'html2js-browserify', istanbul({
'ignore': ['**/*.spec.js', '**/libs/**']
})],

// don't forget to register the extensions
extensions: ['.js']
Expand Down Expand Up @@ -74,4 +78,4 @@ module.exports = function (config) {
singleRun: false

});
};
};

0 comments on commit 101524f

Please sign in to comment.