-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix(jest-utils,nx-plugin): Fix running jest config, test:cov nx configuration, and path resolution in tests #109
Conversation
6259541
to
7317f7e
Compare
As a note: I am up for discussion about whether we really want to require ts-node (ie, adding extra dependencies just for the config file). On a brief test, it does appear that we're getting proper autocomplete on JS files in VSC since it's able to pick up on the types from jest-utils, and we could just add |
After discussion, we've agreed that there's not really a benefit for adding |
3457641
to
adb0a62
Compare
So using a root config was a bust, but I realized something else - if we had something like
and index.ts imported |
Few things this addresses:
require
ESM from CJS). See [Feature]: Support loading jest.config.ts as ESM jestjs/jest#13118test
was properly set up with nx (caching/dependencies/inputs/outputs),test:cov
now is as well