UNPKG

@nx/jest

Version:

The Nx Plugin for Jest contains executors and generators allowing your workspace to use the powerful Jest testing capabilities.

26 lines (17 loc) 515 B
#### Replace Usage of `getJestProjects` with `getJestProjectsAsync` Replaces the usage of the removed `getJestProjects` function with the `getJestProjectsAsync` function. #### Sample Code Changes ##### Before ```ts title="jest.config.ts" import { getJestProjects } from '@nx/jest'; export default { projects: getJestProjects(), }; ``` ##### After ```ts title="jest.config.ts" import { getJestProjectsAsync } from '@nx/jest'; export default async () => ({ projects: await getJestProjectsAsync(), }); ```