Skip to content

onBegin not called when fromData invoked #82

Closed
@AndrewOttavianoAbb

Description

@AndrewOttavianoAbb

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 😉

Metadata

Metadata

Assignees

No one assigned

    Labels

    kind: supportAsking for support with something or a specific use casescope: upstreamIssue in upstream dependencysolution: intended behaviorThis is not a bug and is expected behavior

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions