@nx/jest
Version:
26 lines (17 loc) • 515 B
Markdown
Replaces the usage of the removed `getJestProjects` function with the `getJestProjectsAsync` function.
```ts title="jest.config.ts"
import { getJestProjects } from '@nx/jest';
export default {
projects: getJestProjects(),
};
```
```ts title="jest.config.ts"
import { getJestProjectsAsync } from '@nx/jest';
export default async () => ({
projects: await getJestProjectsAsync(),
});
```