From 0eed1bdf2cacbedc5ea6d403e0f5e043d0bfbc2d Mon Sep 17 00:00:00 2001 From: Jason Jean Date: Tue, 2 Jul 2024 09:49:46 -0400 Subject: [PATCH] chore(repo): use the async api of getJestProjects (#26792) ## Current Behavior This repo uses `getJestProjects` rather than `getJestProjectsAsync` ## Expected Behavior This repo uses `getJestProjectsAsync` ## Related Issue(s) Fixes # --- jest.config.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/jest.config.ts b/jest.config.ts index d0dbd1b889..6b3f2d6e24 100644 --- a/jest.config.ts +++ b/jest.config.ts @@ -1,5 +1,5 @@ -import { getJestProjects } from '@nx/jest'; +import { getJestProjectsAsync } from '@nx/jest'; -export default { - projects: getJestProjects(), -}; +export default async () => ({ + projects: await getJestProjectsAsync(), +});