From c95f4e327f40db1599717d7fced6b6f89afbfbdf Mon Sep 17 00:00:00 2001 From: David Laban Date: Fri, 19 Jan 2018 07:36:48 +0000 Subject: [PATCH] doc changes from review comments --- CHANGELOG.md | 8 +++++--- docs/CLI.md | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06af419532b4..1786e30b65d6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,10 @@ ## master +### Features +* `[jest-cli]` `--changedSince`: allow selectively running tests for code + changed since arbitrary revisions. + ([#5312](https://github.com/facebook/jest/pull/5312)) + ## jest 22.1.3 ### Fixes @@ -28,9 +33,6 @@ * `[jest-cli]` Make Jest exit without an error when no tests are found in the case of `--lastCommit`, `--findRelatedTests`, or `--onlyChanged` options having been passed to the CLI -* `[jest-cli]` `--changedSince`: allow selectively running tests for code - changed since arbitrary revisions. - ([#5312](https://github.com/facebook/jest/pull/5312)) ### Fixes * `[jest-cli]` Use `import-local` to support global Jest installations. diff --git a/docs/CLI.md b/docs/CLI.md index 0865826810e8..8cfc0a5d3acd 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -110,6 +110,8 @@ commit. Behaves similarly to `--onlyChanged`. ### `--changedSince` +##### available in Jest **22.2.0+** + 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`.