Skip to content

Commit 15f3f43

Browse files
committed
chore(karma.conf): add custom chrome launcher with --disable-search-engine-choice-screen flag
1 parent 4837f2e commit 15f3f43

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

karma.conf.js

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// Karma configuration file, see link for more information
22
// https://karma-runner.github.io/1.0/config/configuration-file.html
33

4-
module.exports = function (config) {
4+
module.exports = function(config) {
55
config.set({
66
basePath: '',
77
frameworks: ['jasmine', '@angular-devkit/build-angular'],
@@ -37,7 +37,13 @@ module.exports = function (config) {
3737
colors: true,
3838
logLevel: config.LOG_INFO,
3939
autoWatch: true,
40-
browsers: ['Chrome'],
40+
browsers: ['Chrome_Custom'],
41+
customLaunchers: {
42+
Chrome_Custom: {
43+
base: 'Chrome',
44+
flags: ['--disable-search-engine-choice-screen']
45+
}
46+
},
4147
singleRun: false,
4248
restartOnFileChange: true
4349
});

0 commit comments

Comments
 (0)