From 0bf77218622f4f879091270d4381363d3ff36239 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Norte?= Date: Tue, 12 Aug 2025 11:08:08 -0700 Subject: [PATCH] Use Jest naming for test regex in Fantom docs (#53229) Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/53229 Changelog: [internal] Tiny change to align with how Jest refers to this argument in its docs: https://jestjs.io/docs/cli#jest-regexfortestfiles Reviewed By: lenaic Differential Revision: D80090285 fbshipit-source-id: 86a4ad75078eb9b7575fca9659cc1a2e678f7a0a --- private/react-native-fantom/__docs__/README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/private/react-native-fantom/__docs__/README.md b/private/react-native-fantom/__docs__/README.md index cf1a36fd386..72828c6310b 100644 --- a/private/react-native-fantom/__docs__/README.md +++ b/private/react-native-fantom/__docs__/README.md @@ -99,13 +99,13 @@ Run the test using the following command from the root of the React Native repository: ```shell -yarn fantom [optional test pattern] +yarn fantom ``` Similar to Jest, you can also run Fantom in watch mode using `--watch`: ```shell -yarn fantom --watch [optional test pattern] +yarn fantom --watch ``` ### Test configuration @@ -195,7 +195,7 @@ With an output such as: To debug, run your fantom test with the flag `FANTOM_ENABLE_CPP_DEBUGGING` ```shell -FANTOM_ENABLE_CPP_DEBUGGING=1 yarn fantom [optional test pattern] +FANTOM_ENABLE_CPP_DEBUGGING=1 yarn fantom ``` ### FAQ