Skip to content
Snippets Groups Projects
Commit c2194317 authored by Homada.Boumedane's avatar Homada.Boumedane
Browse files

chore(dlcm-portal): add karma conf

add karma conf to run test on chrome headless without window
parent 17433d3a
No related branches found
No related tags found
No related merge requests found
......@@ -26,6 +26,17 @@ module.exports = function (config) {
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
customLaunchers: {
ChromeNoSandboxHeadless: {
base: 'Chrome',
flags: [
'--no-sandbox',
'--headless',
'--disable-gpu',
'--remote-debugging-port=9222'
]
}
},
singleRun: false,
restartOnFileChange: true
});
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment