Closed
Description
I am trying to test some buttons that I am enabling when onBegin
is called. My problem is that it is generally quite difficult to make a test runner scribble a line across the canvas. To get around this, I attempted to use fromData
as done in this repository's tests thinking that if data was added to the canvas, surely onBegin
would be called.
So I'm logging this issue because of my testing issue but also thought it kind of weird that onBegin
isn't called and was curious about the reasoning behind that. Also would appreciate any advice on how to test my onBegin
handler 😉