Skip to content

Commit

Permalink
Fix typo in --shard docs (#12761)
Browse files Browse the repository at this point in the history
  • Loading branch information
helloitsjoe authored Apr 28, 2022
1 parent 27eb77e commit e2a452f
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@

### Chore & Maintenance

- `[docs]` Fix typo in `--shard` CLI docs ([#12761](https://github.com/facebook/jest/pull/12761))

### Performance

## 28.0.2
Expand Down
2 changes: 1 addition & 1 deletion docs/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ The test suite shard to execute in a format of `(?<shardIndex>\d+)/(?<shardCount

`shardIndex` and `shardCount` have to be 1-based, positive numbers, and `shardIndex` has to be lower than or equal to `shardCount`.

When `shard` is specified the configured [`testSquencer`](Configuration.md#testsequencer-string) has to implement a `shard` method.
When `shard` is specified the configured [`testSequencer`](Configuration.md#testsequencer-string) has to implement a `shard` method.

For example, to split the suite into three shards, each running one third of the tests:

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-28.0/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,7 @@ The test suite shard to execute in a format of `(?<shardIndex>\d+)/(?<shardCount

`shardIndex` and `shardCount` have to be 1-based, positive numbers, and `shardIndex` has to be lower than or equal to `shardCount`.

When `shard` is specified the configured [`testSquencer`](Configuration.md#testsequencer-string) has to implement a `shard` method.
When `shard` is specified the configured [`testSequencer`](Configuration.md#testsequencer-string) has to implement a `shard` method.

For example, to split the suite into three shards, each running one third of the tests:

Expand Down

0 comments on commit e2a452f

Please sign in to comment.