Chart.js/test/.eslintrc
Simon Brunel c6bda02468 Rewrite unit test waitForResize helper (#4566)
The original implementation tries to intercept events from the chart internal iframe, which ones failing on Chrome 60. Checking internals doesn't seem the best approach, instead we could consider that a chart has been resized after the resize method has been called and processed. So let's hook `Chart.resize` and callback once it's done.
2017-07-26 13:33:45 +02:00

14 lines
178 B
Plaintext

env:
jasmine: true
globals:
acquireChart: true
Chart: true
moment: true
waitForResize: true
# http://eslint.org/docs/rules/
rules:
# Best Practices
complexity: 0