(config)
| 159 | } |
| 160 | |
| 161 | function func(config) { |
| 162 | // level of logging |
| 163 | // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG |
| 164 | // |
| 165 | // NB: if you try config.LOG_DEBUG, you may actually be looking for karma-verbose-reporter. |
| 166 | // See CONTRIBUTING.md for additional notes on reporting. |
| 167 | func.defaultConfig.logLevel = config.LOG_INFO; |
| 168 | |
| 169 | // without this, console logs in the plotly.js code don't print to |
| 170 | // the terminal since karma v1.5.0 |
| 171 | // |
| 172 | // See https://github.com/karma-runner/karma/commit/89a7a1c#commitcomment-21009216 |
| 173 | func.defaultConfig.browserConsoleLogOptions = { |
| 174 | level: 'debug' |
| 175 | }; |
| 176 | |
| 177 | config.set(func.defaultConfig); |
| 178 | } |
| 179 | |
| 180 | func.defaultConfig = { |
| 181 | // base path that will be used to resolve all patterns (eg. files, exclude) |
no outgoing calls
no test coverage detected
searching dependent graphs…