Skip to content

Commit

Permalink
Replaced Chrome by Firefox for testing
Browse files Browse the repository at this point in the history
  • Loading branch information
cedx committed Apr 10, 2019
1 parent f459892 commit 0591546
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
module.exports = config => config.set({
browsers: ['ChromeHeadless'],
browsers: ['FirefoxHeadless'],
customLaunchers: {
FirefoxHeadless: {base: 'Firefox', flags: ['--headless']}
},
files: ['src/**/*.ts', 'test/**/*.ts'],
frameworks: ['mocha', 'karma-typescript'],
karmaTypescriptConfig: {
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"gulp-rename": "^1.4.0",
"http-server": "^0.11.1",
"karma": "^4.0.1",
"karma-chrome-launcher": "^2.2.0",
"karma-firefox-launcher": "^1.1.0",
"karma-mocha": "^1.3.0",
"karma-typescript": "^4.0.0",
"mocha": "^6.1.2",
Expand Down

0 comments on commit 0591546

Please sign in to comment.