Skip to content

Commit a5e256d

Browse files
authored
docs: nit: testNamePattern alias -t be in inline code format (#13740)
1 parent eace3a1 commit a5e256d

File tree

7 files changed

+7
-7
lines changed

7 files changed

+7
-7
lines changed

docs/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
437437

438438
### `--testNamePattern=<regex>`
439439

440-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
440+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
441441

442442
:::tip
443443

website/versioned_docs/version-27.x/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
357357

358358
### `--testNamePattern=<regex>`
359359

360-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
360+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
361361

362362
Note: The regex is matched against the full name, which is a combination of the test name and all its surrounding describe blocks.
363363

website/versioned_docs/version-28.x/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
423423

424424
### `--testNamePattern=<regex>`
425425

426-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
426+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
427427

428428
:::tip
429429

website/versioned_docs/version-29.0/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
417417

418418
### `--testNamePattern=<regex>`
419419

420-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
420+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
421421

422422
:::tip
423423

website/versioned_docs/version-29.1/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -417,7 +417,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
417417

418418
### `--testNamePattern=<regex>`
419419

420-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
420+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
421421

422422
:::tip
423423

website/versioned_docs/version-29.2/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
437437

438438
### `--testNamePattern=<regex>`
439439

440-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
440+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
441441

442442
:::tip
443443

website/versioned_docs/version-29.3/CLI.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc
437437

438438
### `--testNamePattern=<regex>`
439439

440-
Alias: -t. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
440+
Alias: `-t`. Run only tests with a name that matches the regex. For example, suppose you want to run only tests related to authorization which will have names like "GET /api/posts with auth", then you can use jest -t=auth.
441441

442442
:::tip
443443

0 commit comments

Comments
 (0)