mirror of
https://github.com/chartjs/Chart.js.git
synced 2024-10-06 12:19:08 +02:00
Prevent test timeouts due to Chrome backgrounding (#8360)
* Prevent test timeouts due to Chrome backgrounding * Add karma.conf.js to test filters
This commit is contained in:
parent
ae0c8dd457
commit
6e555e2285
1
.github/workflows/ci.yml
vendored
1
.github/workflows/ci.yml
vendored
@ -36,6 +36,7 @@ jobs:
|
||||
- 'src/**'
|
||||
test:
|
||||
- 'test/**'
|
||||
- 'karma.conf.js'
|
||||
types:
|
||||
- 'types/**'
|
||||
- name: Install
|
||||
|
@ -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: {
|
||||
|
Loading…
Reference in New Issue
Block a user