This repository was archived by the owner on Mar 29, 2025. It is now read-only.
How to use this library with Jest? #31
Unanswered
JoePotentier
asked this question in
Q&A
Replies: 0 comments
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.
-
Jest doesn't play nice with Namespaces. It can't resolve module methods contained in Namespaces such as V2 etc.
We currently have to mock out this entire library in our test suites for the jest compiler to be happy.
I was wondering if you have ever used this library in conjunction with Typescript and Jest? If so, how do you get around the Namespaces resolution issues?
Beta Was this translation helpful? Give feedback.
All reactions