Remove the deprecated function `getJestProjects`. BREAKING CHANGE: The previously deprecated `getJestProjects` function was removed in favor of `getJestProjectsAsync`.
606 B
606 B
Replace Usage of getJestProjects with getJestProjectsAsync
Replaces the usage of the deprecated getJestProjects function with the getJestProjectsAsync function.
Sample Code Changes
{% tabs %} {% tab label="Before" %}
import { getJestProjects } from '@nx/jest';
export default {
projects: getJestProjects(),
};
{% /tab %} {% tab label="After" %}
import { getJestProjectsAsync } from '@nx/jest';
export default async () => ({
projects: await getJestProjectsAsync(),
});
{% /tab %} {% /tabs %}