From 013284f8ee8fd160ff640e0ec00e331f1446e7c1 Mon Sep 17 00:00:00 2001 From: Max Schmitt Date: Tue, 28 May 2024 18:08:47 +0200 Subject: [PATCH] Update docs/src/test-api/class-testconfig.md Co-authored-by: Yury Semikhatsky Signed-off-by: Max Schmitt --- docs/src/test-api/class-testconfig.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/src/test-api/class-testconfig.md b/docs/src/test-api/class-testconfig.md index 141bdab029..85fbd3e86f 100644 --- a/docs/src/test-api/class-testconfig.md +++ b/docs/src/test-api/class-testconfig.md @@ -164,7 +164,7 @@ export default defineConfig({ * since: v1.10 - type: ?<[RegExp]|[Array]<[RegExp]>> -Filter to only run tests with a title matching one of the patterns. For example, passing `grep: /cart/` should only run tests with "cart" in the title. Also available in the [command line](../test-cli.md) with the `-g` option. The regular expression will be tested against the string that consists of the test file name, `test.describe` name (if any), the test name and and test tags divided by spaces, e.g. `my-test.spec.ts my-suite my-test`. +Filter to only run tests with a title matching one of the patterns. For example, passing `grep: /cart/` should only run tests with "cart" in the title. Also available in the [command line](../test-cli.md) with the `-g` option. The regular expression will be tested against the string that consists of the project name, the test file name, the `test.describe` name (if any), the test name and the test tags divided by spaces, e.g. `chromium my-test.spec.ts my-suite my-test`. `grep` option is also useful for [tagging tests](../test-annotations.md#tag-tests).