Skip to content

Commit

Permalink
chore: update test depencencies
Browse files Browse the repository at this point in the history
  • Loading branch information
nikku committed Dec 13, 2023
1 parent 142491f commit 6418eb9
Show file tree
Hide file tree
Showing 3 changed files with 2,120 additions and 2,736 deletions.
15 changes: 7 additions & 8 deletions karma.conf.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/* eslint-env node */

// configures browsers to run test against
// any of [ 'Chrome', 'Firefox' ]
var browsers =
(process.env.TEST_BROWSERS || 'ChromeHeadless')
.replace(/^\s+|\s+$/, '')
.split(/\s*,\s*/g);
// any of [ 'ChromeHeadless', 'Chrome', 'Firefox' ]
const browsers = (process.env.TEST_BROWSERS || 'ChromeHeadless').split(',');

// use puppeteer provided Chrome for testing
process.env.CHROME_BIN = require('puppeteer').executablePath();


module.exports = function(karma) {

Expand All @@ -26,9 +27,7 @@ module.exports = function(karma) {

reporters: [ 'progress' ],

browsers: browsers,

browserNoActivityTimeout: 30000,
browsers,

singleRun: true,
autoWatch: false,
Expand Down
Loading

0 comments on commit 6418eb9

Please sign in to comment.