Chart.js/test
Arun Philip e7b8fa290f
do not attempt to clear canvas if one does not exist (#11764)
* do not attempt to clear canvas if one does not exist

* update test to explicitly run clearCanvas method to ensure it doesn't throw an error

* explicitly set canvas and ctx to null in test since the helper in test code didn't

* Update test/specs/helpers.canvas.tests.js

---------

Co-authored-by: Jacco van den Berg <jaccoberg2281@gmail.com>
2024-05-17 08:16:58 -04:00
..
fixtures Create parsed object with correct keys (#11690) 2024-04-28 20:37:29 -04:00
integration fix: hotfix chart.js/auto for commonjs (#10992) 2022-12-16 07:53:27 -05:00
specs do not attempt to clear canvas if one does not exist (#11764) 2024-05-17 08:16:58 -04:00
types Revert feature to disable plugins by TS (#11422) 2023-07-26 08:59:42 -04:00
.eslintrc.yml Loosen the max-statements lint rule for tests (#8638) 2021-03-14 11:07:39 -04:00
BasicChartWebWorker.js feat: add ESM support (#10525) 2022-08-04 18:43:26 -04:00
index.js Introduce Colors plugin (#10764) 2022-10-21 08:21:08 -04:00
seed-reporter.cjs feat: add ESM support (#10525) 2022-08-04 18:43:26 -04:00