Replace getJestProjects with getJestProjectsAsync
Replace getJestProjects with getJestProjectsAsync
Sample Code Changes
jest.config.ts
1import { getJestProjects } from '@nx/jest';
2
3export default {
4 projects: getJestProjects(),
5};
6
Here is a list of all migrations available for this package.
replace getJestProjects with getJestProjectsAsync
Replace getJestProjects with getJestProjectsAsync
1import { getJestProjects } from '@nx/jest';
2
3export default {
4 projects: getJestProjects(),
5};
6
Packages
Name | Version | Always Add to package.json |
---|---|---|
jest | ~29.7.0 | Update only |
@types/jest | ~29.5.12 | Update only |
expect | ~29.7.0 | Update only |
@jest/globals | ~29.7.0 | Update only |
jest-jasmine2 | ~29.7.0 | Update only |
jest-environment-jsdom | ~29.7.0 | Update only |
babel-jest | ~29.7.0 | Update only |
Packages
Name | Version | Always Add to package.json |
---|---|---|
@swc/jest | ~0.2.36 | Update only |
Packages
Name | Version | Always Add to package.json |
---|---|---|
@types/node | 18.16.9 | Update only |
Move jest executor options to nx.json targetDefaults