Why would the preset be required when I've manually added the configuration? #3659
Unanswered
tim-rohrer
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.
-
Here is the
jest.config.jsfile I've been using. It has always required thepresetto be included in order to work:If I remove the
presetline, I get a bunch of errors when I invokeNODE_OPTIONS=--experimental-vm-modules npx jestusing Node 16.I'm pretty certain this problem existed prior to my upgrade to Jest 28 and ts-jest 28.
This is now important because I want to use the preset line my
jest-config.jsfor @shelfio/jest-mongodb.So why am I required to include the preset in my configuration? I thought it was optional.
Beta Was this translation helpful? Give feedback.
All reactions