Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Mention about using commit hash with --changedSince flag #6330

Merged
merged 2 commits into from
May 28, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

* `[jest-circus]` Add dependency on jest-each ([#6309](https://github.com/facebook/jest/pull/#6309))
* `[filenames]` Rename "integration-tests" to "e2e" ([#6315](https://github.com/facebook/jest/pull/6315))
* `[docs]` Mention the use of commit hash with `--changedSince` flag ([#6330](https://github.com/facebook/jest/pull/6330))

## 23.0.1

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-22.2/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Runs tests related to the current changes and the changes made in the last commi

### `--changedSince`

Runs tests related the changes since the provided branch. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.
Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.

### `--ci`

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-22.3/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ Runs tests related to the current changes and the changes made in the last commi

### `--changedSince`

Runs tests related the changes since the provided branch. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.
Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.

### `--ci`

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-22.4/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Runs tests related to the current changes and the changes made in the last commi

### `--changedSince`

Runs tests related the changes since the provided branch. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.
Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.

### `--ci`

Expand Down
2 changes: 1 addition & 1 deletion website/versioned_docs/version-23.0/CLI.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ Runs tests related to the current changes and the changes made in the last commi

### `--changedSince`

Runs tests related the changes since the provided branch. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.
Runs tests related to the changes since the provided branch or commit hash. If the current branch has diverged from the given branch, then only changes made locally will be tested. Behaves similarly to `--onlyChanged`.

### `--ci`

Expand Down