Skip to content

Commit

Permalink
chore(config.md): correct links to testRegex (#8749)
Browse files Browse the repository at this point in the history
  • Loading branch information
ecmarsh authored and SimenB committed Jul 25, 2019
1 parent a1e3007 commit cb322d1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 10 deletions.
4 changes: 2 additions & 2 deletions docs/Configuration.md
Expand Up @@ -937,7 +937,7 @@ The glob patterns Jest uses to detect test files. By default it looks for `.js`,

See the [micromatch](https://github.com/jonschlinkert/micromatch) package for details of the patterns you can specify.

See also [`testRegex` [string | Array<string>]](#testregex-string), but note that you cannot specify both options.
See also [`testRegex` [string | array<string>]](#testregex-string-array-string), but note that you cannot specify both options.

### `testPathIgnorePatterns` [array<string>]

Expand All @@ -947,7 +947,7 @@ An array of regexp pattern strings that are matched against all test paths befor

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. Example: `["<rootDir>/build/", "<rootDir>/node_modules/"]`.

### `testRegex` [string | Array<string>]
### `testRegex` [string | array<string>]

Default: `(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$`

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.0/Configuration.md
Expand Up @@ -894,7 +894,7 @@ The glob patterns Jest uses to detect test files. By default it looks for `.js`,

See the [micromatch](https://github.com/jonschlinkert/micromatch) package for details of the patterns you can specify.

See also [`testRegex` [string | Array<string>]](#testregex-string), but note that you cannot specify both options.
See also [`testRegex` [string | array<string>]](#testregex-string-array-string), but note that you cannot specify both options.

### `testPathIgnorePatterns` [array<string>]

Expand All @@ -904,7 +904,7 @@ An array of regexp pattern strings that are matched against all test paths befor

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. Example: `["<rootDir>/build/", "<rootDir>/node_modules/"]`.

### `testRegex` [string | Array<string>]
### `testRegex` [string | array<string>]

Default: `(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$`

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.1/Configuration.md
Expand Up @@ -903,7 +903,7 @@ The glob patterns Jest uses to detect test files. By default it looks for `.js`,

See the [micromatch](https://github.com/jonschlinkert/micromatch) package for details of the patterns you can specify.

See also [`testRegex` [string | Array<string>]](#testregex-string), but note that you cannot specify both options.
See also [`testRegex` [string | array<string>]](#testregex-string-array-string), but note that you cannot specify both options.

### `testPathIgnorePatterns` [array<string>]

Expand All @@ -913,7 +913,7 @@ An array of regexp pattern strings that are matched against all test paths befor

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. Example: `["<rootDir>/build/", "<rootDir>/node_modules/"]`.

### `testRegex` [string | Array<string>]
### `testRegex` [string | array<string>]

Default: `(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$`

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.6/Configuration.md
Expand Up @@ -922,7 +922,7 @@ The glob patterns Jest uses to detect test files. By default it looks for `.js`,

See the [micromatch](https://github.com/jonschlinkert/micromatch) package for details of the patterns you can specify.

See also [`testRegex` [string | Array<string>]](#testregex-string), but note that you cannot specify both options.
See also [`testRegex` [string | array<string>]](#testregex-string-array-string), but note that you cannot specify both options.

### `testPathIgnorePatterns` [array<string>]

Expand All @@ -932,7 +932,7 @@ An array of regexp pattern strings that are matched against all test paths befor

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. Example: `["<rootDir>/build/", "<rootDir>/node_modules/"]`.

### `testRegex` [string | Array<string>]
### `testRegex` [string | array<string>]

Default: `(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$`

Expand Down
4 changes: 2 additions & 2 deletions website/versioned_docs/version-24.8/Configuration.md
Expand Up @@ -938,7 +938,7 @@ The glob patterns Jest uses to detect test files. By default it looks for `.js`,

See the [micromatch](https://github.com/jonschlinkert/micromatch) package for details of the patterns you can specify.

See also [`testRegex` [string | Array<string>]](#testregex-string), but note that you cannot specify both options.
See also [`testRegex` [string | array<string>]](#testregex-string-array-string), but note that you cannot specify both options.

### `testPathIgnorePatterns` [array<string>]

Expand All @@ -948,7 +948,7 @@ An array of regexp pattern strings that are matched against all test paths befor

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. Example: `["<rootDir>/build/", "<rootDir>/node_modules/"]`.

### `testRegex` [string | Array<string>]
### `testRegex` [string | array<string>]

Default: `(/__tests__/.*|(\\.|/)(test|spec))\\.[jt]sx?$`

Expand Down

0 comments on commit cb322d1

Please sign in to comment.