Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
69102f4af9
@ -1,9 +1,7 @@
|
|||||||
// Karma configuration file, see link for more information
|
// Karma configuration file, see link for more information
|
||||||
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
// https://karma-runner.github.io/1.0/config/configuration-file.html
|
||||||
|
|
||||||
process.env.CHROME_BIN = require('puppeteer').executablePath();
|
module.exports = function(config) {
|
||||||
|
|
||||||
module.exports = function (config) {
|
|
||||||
config.set({
|
config.set({
|
||||||
basePath: '',
|
basePath: '',
|
||||||
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
frameworks: ['jasmine', '@angular-devkit/build-angular'],
|
||||||
@ -42,14 +40,16 @@ module.exports = function (config) {
|
|||||||
logLevel: config.LOG_INFO,
|
logLevel: config.LOG_INFO,
|
||||||
autoWatch: true,
|
autoWatch: true,
|
||||||
// browsers: ['Chrome', 'ChromeHeadless'],
|
// browsers: ['Chrome', 'ChromeHeadless'],
|
||||||
browsers: ['MyChromeHeadless'],
|
browsers: ['ChromeHeadless'],
|
||||||
customLaunchers: {
|
customLaunchers: {
|
||||||
MyChromeHeadless: {
|
ChromeHeadless: {
|
||||||
base: 'ChromeHeadless',
|
base: 'Chrome',
|
||||||
flags: [
|
flags: [
|
||||||
|
'--headless',
|
||||||
'--no-sandbox',
|
'--no-sandbox',
|
||||||
'--disable-setuid-sandbox',
|
'--disable-setuid-sandbox',
|
||||||
'--disable-gpu',
|
'--disable-gpu',
|
||||||
|
'--disable-dev-shm-usage',
|
||||||
'--remote-debugging-port=9222',
|
'--remote-debugging-port=9222',
|
||||||
],
|
],
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user