Skip to content

Commit 7838a78

Browse files
committed
fix: test
1 parent 857aa43 commit 7838a78

1 file changed

Lines changed: 9 additions & 3 deletions

File tree

karma.conf.js

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
// https://karma-runner.github.io/1.0/config/configuration-file.html
33

44
module.exports = function (config) {
5-
config.set({
5+
const configuration = {
66
basePath: '',
77
frameworks: ['jasmine', '@angular-devkit/build-angular'],
88
plugins: [
@@ -25,8 +25,14 @@ module.exports = function (config) {
2525
colors: true,
2626
logLevel: config.LOG_INFO,
2727
autoWatch: true,
28-
browsers: ['Chrome'],
28+
browsers: ['Chrome', 'ChromeCanary'],
2929
singleRun: false,
3030
restartOnFileChange: true
31-
});
31+
};
32+
33+
if (process.env.TRAVIS || process.env.CIRCLECI || process.env.CI) {
34+
configuration.browsers = ['Chrome_ci'];
35+
}
36+
37+
config.set(configuration);
3238
};

0 commit comments

Comments
 (0)