Skip to content

Commit

Permalink
chore(karma.conf): add custom chrome launcher with --disable-search-e…
Browse files Browse the repository at this point in the history
…ngine-choice-screen flag
  • Loading branch information
xidedix committed Aug 19, 2024
1 parent 4837f2e commit 15f3f43
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// Karma configuration file, see link for more information
// https://karma-runner.github.io/1.0/config/configuration-file.html

module.exports = function (config) {
module.exports = function(config) {
config.set({
basePath: '',
frameworks: ['jasmine', '@angular-devkit/build-angular'],
Expand Down Expand Up @@ -37,7 +37,13 @@ module.exports = function (config) {
colors: true,
logLevel: config.LOG_INFO,
autoWatch: true,
browsers: ['Chrome'],
browsers: ['Chrome_Custom'],
customLaunchers: {
Chrome_Custom: {
base: 'Chrome',
flags: ['--disable-search-engine-choice-screen']
}
},
singleRun: false,
restartOnFileChange: true
});
Expand Down

0 comments on commit 15f3f43

Please sign in to comment.