mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-27 20:36:33 -04:00
fix coverage
This commit is contained in:
+3
-2
@@ -29,6 +29,7 @@ module.exports = function(config) {
|
||||
|
||||
// list of files / patterns to load in the browser
|
||||
files: [
|
||||
'src/scripts/**/*.js',
|
||||
'test/spec/**/*.js'
|
||||
],
|
||||
|
||||
@@ -38,8 +39,8 @@ module.exports = function(config) {
|
||||
// preprocess matching files before serving them to the browser
|
||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||
preprocessors: {
|
||||
'test/spec/**/*.js': ['browserify'],
|
||||
'src/*.js': ['coverage']
|
||||
'src/scripts/**/*.js': ['browserify'],
|
||||
'test/spec/**/*.js': ['browserify']
|
||||
},
|
||||
|
||||
// test results reporter to use
|
||||
|
||||
Reference in New Issue
Block a user