From a5e256d48738fbb74fe8c55999167de00f1fff82 Mon Sep 17 00:00:00 2001 From: Bob Z Saludo <4698973+bob-zs@users.noreply.github.com> Date: Sat, 7 Jan 2023 07:52:51 -0500 Subject: [PATCH] docs: nit: `testNamePattern` alias `-t` be in inline code format (#13740) --- docs/CLI.md | 2 +- website/versioned_docs/version-27.x/CLI.md | 2 +- website/versioned_docs/version-28.x/CLI.md | 2 +- website/versioned_docs/version-29.0/CLI.md | 2 +- website/versioned_docs/version-29.1/CLI.md | 2 +- website/versioned_docs/version-29.2/CLI.md | 2 +- website/versioned_docs/version-29.3/CLI.md | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/docs/CLI.md b/docs/CLI.md index 25383978116b..c822a97f709d 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip diff --git a/website/versioned_docs/version-27.x/CLI.md b/website/versioned_docs/version-27.x/CLI.md index 933b2028577f..ad2c99c1ae5a 100644 --- a/website/versioned_docs/version-27.x/CLI.md +++ b/website/versioned_docs/version-27.x/CLI.md @@ -357,7 +357,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. Note: The regex is matched against the full name, which is a combination of the test name and all its surrounding describe blocks. diff --git a/website/versioned_docs/version-28.x/CLI.md b/website/versioned_docs/version-28.x/CLI.md index ce297277e6f5..e7fe4062e755 100644 --- a/website/versioned_docs/version-28.x/CLI.md +++ b/website/versioned_docs/version-28.x/CLI.md @@ -423,7 +423,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip diff --git a/website/versioned_docs/version-29.0/CLI.md b/website/versioned_docs/version-29.0/CLI.md index bda866cd2ab0..530312f37c84 100644 --- a/website/versioned_docs/version-29.0/CLI.md +++ b/website/versioned_docs/version-29.0/CLI.md @@ -417,7 +417,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip diff --git a/website/versioned_docs/version-29.1/CLI.md b/website/versioned_docs/version-29.1/CLI.md index 811f839ac6e2..a1bc4c297e2b 100644 --- a/website/versioned_docs/version-29.1/CLI.md +++ b/website/versioned_docs/version-29.1/CLI.md @@ -417,7 +417,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip diff --git a/website/versioned_docs/version-29.2/CLI.md b/website/versioned_docs/version-29.2/CLI.md index 25383978116b..c822a97f709d 100644 --- a/website/versioned_docs/version-29.2/CLI.md +++ b/website/versioned_docs/version-29.2/CLI.md @@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip diff --git a/website/versioned_docs/version-29.3/CLI.md b/website/versioned_docs/version-29.3/CLI.md index 25383978116b..c822a97f709d 100644 --- a/website/versioned_docs/version-29.3/CLI.md +++ b/website/versioned_docs/version-29.3/CLI.md @@ -437,7 +437,7 @@ The glob patterns Jest uses to detect test files. Please refer to the [`testMatc ### `--testNamePattern=` -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. +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. :::tip