Skip to content

Mock canvas #395

Answered by regenrek
regenrek asked this question in Q&A
Jan 1, 2022 · 2 comments · 6 replies
Discussion options

You must be logged in to vote

I build a quick reproduce repo:

https://stackblitz.com/edit/github-wpyfol?file=test/canvas.test.ts

The first issue is that it mock-canvas has jest dependencies. I tried to rewrite them to vi but I got stuck here too.

Replies: 2 comments 6 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@regenrek
Comment options

@cexbrayat
Comment options

@sheremet-va
Comment options

@Johannes-Schiel
Comment options

@bcjohnblue
Comment options

Answer selected by regenrek
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
5 participants