mirror of
https://github.com/pebble-dev/clay.git
synced 2026-09-05 16:47:37 -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
|
// list of files / patterns to load in the browser
|
||||||
files: [
|
files: [
|
||||||
|
'src/scripts/**/*.js',
|
||||||
'test/spec/**/*.js'
|
'test/spec/**/*.js'
|
||||||
],
|
],
|
||||||
|
|
||||||
@@ -38,8 +39,8 @@ module.exports = function(config) {
|
|||||||
// preprocess matching files before serving them to the browser
|
// preprocess matching files before serving them to the browser
|
||||||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor
|
||||||
preprocessors: {
|
preprocessors: {
|
||||||
'test/spec/**/*.js': ['browserify'],
|
'src/scripts/**/*.js': ['browserify'],
|
||||||
'src/*.js': ['coverage']
|
'test/spec/**/*.js': ['browserify']
|
||||||
},
|
},
|
||||||
|
|
||||||
// test results reporter to use
|
// test results reporter to use
|
||||||
|
|||||||
Reference in New Issue
Block a user