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
-
Here is the
jest.config.js
file I've been using. It has always required thepreset
to be included in order to work:If I remove the
preset
line, I get a bunch of errors when I invokeNODE_OPTIONS=--experimental-vm-modules npx jest
using 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.js
for @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