Skip to content
Discussion options

You must be logged in to vote

Hey bud. It's very hard to give much advice here without a reproduction of the issue. If you can reproduce it then we can take a look. However, I'd say your setup looks good to me.

The only advice I can give is, from a jest perspective vanilla is really just normal code. There's no magic going on. The babel plugin does a very small transform but if that was the issue you wouldn't get an error like you're getting. I'd be debugging your tests and seeing what is going on inside your library when you run a failing test. Running jest through the node debugger in vscode is quite easy now, that's my go-to for this kinda stuff.

Replies: 1 comment 7 replies

Comment options

You must be logged in to vote
7 replies
@epavletic
Comment options

@noahub
Comment options

@robertgr991
Comment options

@noahub
Comment options

@robertgr991
Comment options

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