Popover component causes error in jest test #550
Answered
by
SiTaggart
kateschwarz
asked this question in
General
-
Hi team! I was just testing out the Paste Popover component and ran into an error when running a jest test. I am not setting any font sizes in my component.
For context, this is my component:
|
Beta Was this translation helpful? Give feedback.
Answered by
SiTaggart
Jul 2, 2020
Replies: 1 comment 1 reply
-
Hi @kateschwarz, are you wrapping your test content inside the |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
kateschwarz
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @kateschwarz, are you wrapping your test content inside the
Theme.Provider
? That's the only thing I can think of off the top of my head