Skip to content
This repository was archived by the owner on Mar 10, 2020. It is now read-only.

Commit 57056ae

Browse files
committedOct 25, 2015
Add debug mode
1 parent faf9495 commit 57056ae

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed
 

‎karma.conf.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -65,10 +65,10 @@ module.exports = function (config) {
6565
reporters: ['progress', 'saucelabs'],
6666
port: 9876,
6767
colors: true,
68-
logLevel: config.LOG_INFO,
68+
logLevel: process.env.DEBUG ? config.LOG_DEBUG : config.LOG_INFO,
6969
autoWatch: false,
7070
customLaunchers: customLaunchers,
71-
browsers: Object.keys(customLaunchers),
71+
browsers: process.env.DEBUG ? ['Chrome'] : Object.keys(customLaunchers),
7272
singleRun: false,
7373
concurrency: 2
7474
})

‎package.json

+1
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@
3333
"ipfsd-ctl": "^0.5.5",
3434
"karma": "^0.13.11",
3535
"karma-browserify": "^4.4.0",
36+
"karma-chrome-launcher": "^0.2.1",
3637
"karma-mocha": "^0.2.0",
3738
"karma-sauce-launcher": "^0.3.0",
3839
"mocha": "^2.3.3",

0 commit comments

Comments
 (0)
This repository has been archived.