mirror of
https://github.com/pebble-dev/clay.git
synced 2026-08-31 22:36:56 -04:00
Fix sourcemaps on karma for debug
This commit is contained in:
+8
-2
@@ -22,7 +22,11 @@ module.exports = function(config) {
|
||||
'deamdify',
|
||||
[
|
||||
'browserify-istanbul',
|
||||
{ ignore: ['**/test/**', '**/src/scripts/vendor/**'] }
|
||||
{
|
||||
ignore: process.env.DEBUG ?
|
||||
['**/**'] :
|
||||
['**/test/**', '**/src/scripts/vendor/**']
|
||||
}
|
||||
]
|
||||
]
|
||||
},
|
||||
@@ -46,7 +50,9 @@ module.exports = function(config) {
|
||||
// test results reporter to use
|
||||
// possible values: 'dots', 'progress'
|
||||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter
|
||||
reporters: ['mocha', 'coverage', 'threshold'],
|
||||
reporters: process.env.DEBUG ?
|
||||
['mocha'] :
|
||||
['mocha', 'coverage', 'threshold'],
|
||||
|
||||
// optionally, configure the reporter
|
||||
coverageReporter: {
|
||||
|
||||
Reference in New Issue
Block a user