We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d2288ef commit 8417516Copy full SHA for 8417516
karma.conf.js
@@ -26,6 +26,12 @@ module.exports = function (config) {
26
logLevel: config.LOG_INFO,
27
autoWatch: true,
28
browsers: ['Chrome'],
29
+ customLaunchers: {
30
+ ChromeHeadlessCI: {
31
+ base: 'ChromeHeadless',
32
+ flags: ['--no-sandbox']
33
+ }
34
+ },
35
singleRun: false,
36
restartOnFileChange: true
37
});
package.json
@@ -7,6 +7,7 @@
7
"build": "ng build",
8
"prod-build": "ng build --prod",
9
"test": "ng test",
10
+ "ci-test": "npm run test -- --no-watch --no-progress --browsers=ChromeHeadlessCI",
11
"lint": "ng lint",
12
"e2e": "ng e2e"
13
},
@@ -47,4 +48,4 @@
47
48
"tslint": "~6.1.0",
49
"typescript": "~3.8.3"
50
}
-}
51
+}
0 commit comments