Using the component in jest testsing #1704
Closed
sandhya-sago
started this conversation in
General
Replies: 1 comment
-
Duplicate of #1541 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am having trouble using
Document
component in a way that works in jest testing.Setup:
Using this component in a jest test gives the error
Both legacy and regular versions give the same error. Things are working fine in the UI.
Versions:
Is there some setting to enable to run jest tests, instead of mocking out
Document
? Thanks!Beta Was this translation helpful? Give feedback.
All reactions