diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index a4e620e8e04..8d691b39831 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -36,6 +36,7 @@ jobs: - 'src/**' test: - 'test/**' + - 'karma.conf.js' types: - 'types/**' - name: Install diff --git a/karma.conf.js b/karma.conf.js index 29ab1eb76d0..3eefdae6cda 100644 --- a/karma.conf.js +++ b/karma.conf.js @@ -1,5 +1,3 @@ -/* eslint-disable import/no-commonjs */ - const commonjs = require('@rollup/plugin-commonjs'); const istanbul = require('rollup-plugin-istanbul'); const json = require('@rollup/plugin-json'); @@ -49,7 +47,10 @@ module.exports = function(karma) { chrome: { base: 'Chrome', flags: [ - '--disable-accelerated-2d-canvas' + '--disable-accelerated-2d-canvas', + '--disable-background-timer-throttling', + '--disable-backgrounding-occluded-windows', + '--disable-renderer-backgrounding' ] }, firefox: {