Update copyright
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / karma.conf.js
index 421a75d..681ae18 100644 (file)
@@ -44,7 +44,19 @@ module.exports = function (config) {
     colors: true,
     logLevel: config.LOG_INFO,
     autoWatch: true,
-    browsers: ['Chrome'],
+    browsers: ['Chrome','ChromeHeadless'],
+    customLaunchers: {
+        ChromeHeadless: {
+          base: 'Chrome',
+          flags: [
+            '--no-sandbox',
+            '--headless',
+            '--disable-gpu',
+            '--remote-debugging-port=9222'
+          ]
+        }
+    },
+    browserDisconnectTimeout: 60000,
     singleRun: false
   });
 };