Skip to content

Upgrade to 2.16.0 and above give failed tests #1625

Answered by thyhjwb6
kixdcrwtkqgiyrxs asked this question in Q&A
Discussion options

You must be logged in to vote

This is because NumberInput is dependent on the canvas API. We have worked around this by adding import 'jest-canvas-mock' to setupTests.ts.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by m7kvqbe1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants
Converted from issue

This discussion was converted from issue #1625 on November 03, 2020 13:32.