Skip to content

Commit ba55fe7

Browse files
authored
fix(cli): improve --help printout by removing defunct --browser option (#11914)
1 parent 48cef09 commit ba55fe7

2 files changed

Lines changed: 1 addition & 7 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
### Fixes
66

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

910
### Chore & Maintenance
1011

packages/jest-cli/src/cli/args.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -107,13 +107,6 @@ export const options = {
107107
'Exit the test suite immediately after `n` number of failing tests.',
108108
type: 'boolean',
109109
},
110-
browser: {
111-
description:
112-
'Respect the "browser" field in package.json ' +
113-
'when resolving modules. Some packages export different versions ' +
114-
'based on whether they are operating in node.js or a browser.',
115-
type: 'boolean',
116-
},
117110
cache: {
118111
description:
119112
'Whether to use the transform cache. Disable the cache ' +

0 commit comments

Comments
 (0)