Skip to content

Commit

Permalink
update(js clients): use one level indentation for the "Run a subset o…
Browse files Browse the repository at this point in the history
…f tests" cookbook
  • Loading branch information
ArturT committed Jan 8, 2025
1 parent 158312c commit b653d90
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 15 deletions.
9 changes: 4 additions & 5 deletions docusaurus/docs/cypress/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
9 changes: 4 additions & 5 deletions docusaurus/docs/jest/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)
9 changes: 4 additions & 5 deletions docusaurus/docs/vitest/cookbook.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)

0 comments on commit b653d90

Please sign in to comment.