Skip to content

Commit

Permalink
fix(cli): improve --help printout by removing defunct --browser o…
Browse files Browse the repository at this point in the history
…ption (#11914)
  • Loading branch information
mrazauskas committed Sep 30, 2021
1 parent 48cef09 commit ba55fe7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Expand Up @@ -5,6 +5,7 @@
### Fixes

- `[@jest/types]` Mark deprecated configuration options as `@deprecated` ([#11913](https://github.com/facebook/jest/pull/11913))
- `[jest-cli]` Improve `--help` printout by removing defunct `--browser` option ([#11914](https://github.com/facebook/jest/pull/11914))

### Chore & Maintenance

Expand Down
7 changes: 0 additions & 7 deletions packages/jest-cli/src/cli/args.ts
Expand Up @@ -107,13 +107,6 @@ export const options = {
'Exit the test suite immediately after `n` number of failing tests.',
type: 'boolean',
},
browser: {
description:
'Respect the "browser" field in package.json ' +
'when resolving modules. Some packages export different versions ' +
'based on whether they are operating in node.js or a browser.',
type: 'boolean',
},
cache: {
description:
'Whether to use the transform cache. Disable the cache ' +
Expand Down

0 comments on commit ba55fe7

Please sign in to comment.