mirror of
https://github.com/facebook/react-native.git
synced 2026-11-18 20:19:07 +00:00
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
This commit is contained in:
1 parent
35d8086881
commit
0bf7721862
1 file changed
+3
-3
@@ -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 <regexForTestFiles>
|
||||
```
|
||||
|
||||
Similar to Jest, you can also run Fantom in watch mode using `--watch`:
|
||||
|
||||
```shell
|
||||
yarn fantom --watch [optional test pattern]
|
||||
yarn fantom <regexForTestFiles> --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 <regexForTestFiles>
|
||||
```
|
||||
|
||||
### FAQ
|
||||
|
||||
Reference in new issue
Block a user