From fec6a0adf144819f53ebf10c84208a29c52cf8f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Wed, 23 Jul 2025 04:41:42 -0700 Subject: [PATCH] Set displayName for Fantom configuration (#52778) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/52778 Changelog: [internal] Jest has an option to select a specific project when running tests: ``` jest --selectProjects fantom ``` But for this to work, a `displayName` option needs to be set in the project configuration. This adds that for Fantom tests (using `fantom`). Reviewed By: rshest Differential Revision: D78802516 fbshipit-source-id: 483e7c1450b1f97961e4e43c963fac3ce82cee58 --- private/react-native-fantom/config/jest.config.js | 1 + 1 file changed, 1 insertion(+) diff --git a/private/react-native-fantom/config/jest.config.js b/private/react-native-fantom/config/jest.config.js index 908ac1c586b..6f0d43d3c27 100644 --- a/private/react-native-fantom/config/jest.config.js +++ b/private/react-native-fantom/config/jest.config.js @@ -23,6 +23,7 @@ const globalSetup /*: ?string */ = isCI : null; module.exports = { + displayName: 'fantom', rootDir: path.resolve(__dirname, '../../..') /*:: as string */, roots: [ '/packages/react-native',