jest-canvas-mock icon indicating copy to clipboard operation
jest-canvas-mock copied to clipboard

Add reset function

Open Tsubashi opened this issue 1 year ago • 4 comments

I'd like to use this library, but my project uses the reset function pretty heavily which is currently missing from this mock. This PR adds that function to the mock.

Tsubashi avatar Aug 10 '24 19:08 Tsubashi

I'm not sure if there is more you need me to do, but if so, please let me know. I am eager to get this merged.

Thanks!

Tsubashi avatar Aug 25 '24 04:08 Tsubashi

Just following up to see if there is anything else you need in order to get this merged.

Tsubashi avatar Feb 13 '25 16:02 Tsubashi

Any reason why this was not merged or is this library no longer maintained?

@Tsubashi have you found a workaround to set it up globally in your project?

olivierbelzile avatar Jun 11 '25 18:06 olivierbelzile

When passing var in parameters, an exception is thrown. Is this also the design in the actual dom canvas API?

hustcc avatar Jun 12 '25 00:06 hustcc