We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 857aa43 commit 7838a78Copy full SHA for 7838a78
1 file changed
karma.conf.js
@@ -2,7 +2,7 @@
2
// https://karma-runner.github.io/1.0/config/configuration-file.html
3
4
module.exports = function (config) {
5
- config.set({
+ const configuration = {
6
basePath: '',
7
frameworks: ['jasmine', '@angular-devkit/build-angular'],
8
plugins: [
@@ -25,8 +25,14 @@ module.exports = function (config) {
25
colors: true,
26
logLevel: config.LOG_INFO,
27
autoWatch: true,
28
- browsers: ['Chrome'],
+ browsers: ['Chrome', 'ChromeCanary'],
29
singleRun: false,
30
restartOnFileChange: true
31
- });
+ };
32
+
33
+ if (process.env.TRAVIS || process.env.CIRCLECI || process.env.CI) {
34
+ configuration.browsers = ['Chrome_ci'];
35
+ }
36
37
+ config.set(configuration);
38
};
0 commit comments