Skip to content

Commit bc818b5

Browse files
authored
docs: fix error in transformIgnorePatterns (#11227)
1 parent 983de59 commit bc818b5

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

docs/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1305,7 +1305,7 @@ If the tests are written using [native ESM](ECMAScriptModules.md) the transforme
13051305

13061306
Default: `["/node_modules/", "\\.pnp\\.[^\\\/]+$"]`
13071307

1308-
An array of regexp pattern strings that are matched against all source file paths before transformation. If the test path matches any of the patterns, it will not be transformed.
1308+
An array of regexp pattern strings that are matched against all source file paths before transformation. If the file path matches any of the patterns, it will not be transformed.
13091309

13101310
These pattern strings match against the full path. Use the `<rootDir>` string token to include the path to your project's root directory to prevent it from accidentally ignoring all of your files in different environments that may have different root directories.
13111311

website/versioned_docs/version-25.x/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1193,7 +1193,7 @@ _Note: when adding additional code transformers, this will overwrite the default
11931193

11941194
Default: `["/node_modules/"]`
11951195

1196-
An array of regexp pattern strings that are matched against all source file paths before transformation. If the test path matches any of the patterns, it will not be transformed.
1196+
An array of regexp pattern strings that are matched against all source file paths before transformation. If the file path matches any of the patterns, it will not be transformed.
11971197

11981198
These pattern strings match against the full path. Use the `<rootDir>` string token to include the path to your project's root directory to prevent it from accidentally ignoring all of your files in different environments that may have different root directories.
11991199

website/versioned_docs/version-26.x/Configuration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1285,7 +1285,7 @@ _Note: when adding additional code transformers, this will overwrite the default
12851285

12861286
Default: `["/node_modules/", "\\.pnp\\.[^\\\/]+$"]`
12871287

1288-
An array of regexp pattern strings that are matched against all source file paths before transformation. If the test path matches any of the patterns, it will not be transformed.
1288+
An array of regexp pattern strings that are matched against all source file paths before transformation. If the file path matches any of the patterns, it will not be transformed.
12891289

12901290
These pattern strings match against the full path. Use the `<rootDir>` string token to include the path to your project's root directory to prevent it from accidentally ignoring all of your files in different environments that may have different root directories.
12911291

0 commit comments

Comments
 (0)