Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Configure browser for CI

Roland Geiderbb1d8fad13eb
diff --git a/angular/karma.conf.js b/angular/karma.conf.js
index 54d5a3b73..71ece8be9 100644
--- a/angular/karma.conf.js
+++ b/angular/karma.conf.js
@@ -37,8 +37,14 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
- browsers: ['Chrome'],
+ browsers: ['Chrome', 'ChromeHeadlessCI'],
singleRun: false,
- restartOnFileChange: true
+ restartOnFileChange: true,
+ customLaunchers: {
+ ChromeHeadlessCI: {
+ base: 'ChromeHeadless',
+ flags: ['--no-sandbox']
+ }
+ }
});
};