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>
A
Arun Philip committed
e7b8fa290fd587fb800c25ddecfa4b26a5adad63
Parent: ca76d73
Committed by GitHub <noreply@github.com>
on 5/17/2024, 12:16:58 PM