summaryrefslogtreecommitdiffstats
path: root/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js
diff options
context:
space:
mode:
authorRupinder <rupinsi1@in.ibm.com>2020-03-11 20:29:15 +0530
committerRupinderjeet Singh <rupinsi1@in.ibm.com>2020-03-12 09:00:13 +0000
commit5faf4d3c3c28456e7db129fe8cfbbbf69b1ac9c2 (patch)
tree956c4eb86c9f19e91a66837772bd5905277fb7f6 /ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js
parent1dc25cca722492de0d28487ddf24936e2bf875a5 (diff)
made change in pom.xml and other files
Made changes in pom.xml to enable the sonar coverage Issue-ID: PORTAL-834 Change-Id: I61590ab93ad67883ac2a4fca3f50b27e387f8c71 Signed-off-by: Rupinder<rupinsi1@in.ibm.com>
Diffstat (limited to 'ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js')
-rw-r--r--ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js b/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js
index 3006a5b7..a3c65a50 100644
--- a/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js
+++ b/ecomp-sdk/epsdk-app-os/ngapp/src/karma.conf.js
@@ -1,6 +1,7 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html
+process.env.CHROME_BIN = require('puppeteer').executablePath()
module.exports = function (config) {
const defaults = {
basePath: '',
@@ -28,7 +29,7 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
- browsers: ['Chrome'],
+ browsers: ['ChromeHeadless'],
singleRun: false,
}