From b653d902a4d43bc877ba34232bf0aa32d3d3fdae Mon Sep 17 00:00:00 2001 From: Artur Trzop Date: Wed, 8 Jan 2025 12:35:19 +0100 Subject: [PATCH] update(js clients): use one level indentation for the "Run a subset of tests" cookbook --- docusaurus/docs/cypress/cookbook.md | 9 ++++----- docusaurus/docs/jest/cookbook.md | 9 ++++----- docusaurus/docs/vitest/cookbook.md | 9 ++++----- 3 files changed, 12 insertions(+), 15 deletions(-) diff --git a/docusaurus/docs/cypress/cookbook.md b/docusaurus/docs/cypress/cookbook.md index 690e66c2..20d1a7c2 100644 --- a/docusaurus/docs/cypress/cookbook.md +++ b/docusaurus/docs/cypress/cookbook.md @@ -69,9 +69,8 @@ You should replace `$MY_CI_BUILD_ID` with the correct environment variable provi ## Run a subset of tests -To run a subset of your test suite you have a couple of options: +To run a subset of your test suite you can use the `KNAPSACK_PRO_TEST_FILE_*` environment variables: -- `KNAPSACK_PRO_TEST_FILE_*` environment variables: - - [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) - - [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) - - [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file) +- [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) +- [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) +- [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file) diff --git a/docusaurus/docs/jest/cookbook.md b/docusaurus/docs/jest/cookbook.md index b3d355c0..bd52fedc 100644 --- a/docusaurus/docs/jest/cookbook.md +++ b/docusaurus/docs/jest/cookbook.md @@ -66,9 +66,8 @@ Knapsack Pro will generate one XML reports for each batch of tests executed on t ## Run a subset of tests -To run a subset of your test suite you have a couple of options: +To run a subset of your test suite you can use the `KNAPSACK_PRO_TEST_FILE_*` environment variables: -- `KNAPSACK_PRO_TEST_FILE_*` environment variables: - - [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) - - [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) - - [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file) +- [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) +- [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) +- [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file) diff --git a/docusaurus/docs/vitest/cookbook.md b/docusaurus/docs/vitest/cookbook.md index 83152d38..f6a3d466 100644 --- a/docusaurus/docs/vitest/cookbook.md +++ b/docusaurus/docs/vitest/cookbook.md @@ -7,9 +7,8 @@ pagination_prev: null ## Run a subset of tests -To run a subset of your test suite you have a couple of options: +To run a subset of your test suite you can use the `KNAPSACK_PRO_TEST_FILE_*` environment variables: -- `KNAPSACK_PRO_TEST_FILE_*` environment variables: - - [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) - - [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) - - [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file) +- [`KNAPSACK_PRO_TEST_FILE_PATTERN`](reference.md#knapsack_pro_test_file_pattern) +- [`KNAPSACK_PRO_TEST_FILE_EXCLUDE_PATTERN`](reference.md#knapsack_pro_test_file_exclude_pattern) +- [`KNAPSACK_PRO_TEST_FILE_LIST_SOURCE_FILE`](reference.md#knapsack_pro_test_file_list_source_file)