diff --git a/CHANGELOG.md b/CHANGELOG.md index ac52cd11e957..ea3b7209941f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -38,7 +38,6 @@ ### Fixes -- `[jest-cli]` Support dashed args ([#7497](https://github.com/facebook/jest/pull/7497)) - `[jest-cli]` [**BREAKING**] Do not use `text-summary` coverage reporter by default if other reporters are configured ([#7058](https://github.com/facebook/jest/pull/7058)) - `[jest-mock]` [**BREAKING**] Fix bugs with mock/spy result tracking of recursive functions ([#6381](https://github.com/facebook/jest/pull/6381)) - `[jest-haste-map]` [**BREAKING**] Recover files correctly after haste name collisions are fixed ([#7329](https://github.com/facebook/jest/pull/7329)) @@ -81,6 +80,7 @@ - `[jest-haste-map]` Remove legacy condition for duplicate module detection ([#7333](https://github.com/facebook/jest/pull/7333)) - `[jest-haste-map]` Fix `require` detection with trailing commas and ignore `import typeof` modules ([#7385](https://github.com/facebook/jest/pull/7385)) - `[jest-cli]` Fix to set prettierPath via config file ([#7412](https://github.com/facebook/jest/pull/7412)) +- `[jest-cli]` Support dashed args ([#7497](https://github.com/facebook/jest/pull/7497)) ### Chore & Maintenance diff --git a/docs/CLI.md b/docs/CLI.md index 44a8adc6ad5d..f5e1a1347758 100644 --- a/docs/CLI.md +++ b/docs/CLI.md @@ -83,14 +83,14 @@ npm test -- -u -t="ColorPicker" ## Camelcase & dashed args support -Jest supports both camelcase and dashed arg formats. Which means the following examples will have equal result: +Jest supports both camelcase and dashed arg formats. The following examples will have equal result: ```bash jest --collect-coverage jest --collectCoverage ``` -They can also be mixed: +Arguments can also be mixed: ```bash jest --update-snapshot --detectOpenHandles