question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Unrecognized cli patterns for jest@beta

See original GitHub issue

🐛 Bug Report

Multiple users are reporting the following error when trying jest@beta:

Unrecognized CLI Parameters:

  Following options were not recognized:
  ["changed-files-with-ancestor", "clear-cache", "clear-mocks", "collect-coverage", "detect-leaks", "detect-open-handles", "error-on-deprecated", "find-related-tests", "force-exit", "last-commit", "list-tests", "log-heap-usage", "map-coverage", "no-stack-trace", "only-changed", "only-failures", "pass-with-no-tests", "reset-mocks", "reset-modules", "restore-mocks", "run-in-band", "run-tests-by-path", "show-config", "skip-filter", "test-location-in-results", "update-snapshot", "use-stderr", "watch-all", "notify-mode", "prettier-path"]

  CLI Options Documentation:
  https://jestjs.io/docs/en/cli.html

To Reproduce

I am unable to repro but the steps seem to be to install and run jest@beta

@onetom @SerhiiBilyk and @bcanseco all reported the same issue in https://github.com/facebook/jest/issues/7382

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:5
  • Comments:18 (9 by maintainers)

github_iconTop GitHub Comments

2reactions
SimenBcommented, Dec 11, 2018

was that fix released in a patch?

It was released in a patch version of yargs: 12.0.3 to be exact: https://github.com/yargs/yargs/compare/v12.0.2..v12.0.3#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R32

1reaction
SimenBcommented, Dec 10, 2018

We should have B, but the object we get back from yargs should only have the camelCase ones, so we don’t have multiple sources of truth

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unrecognized cli patterns for jest@beta - Bountysource
Multiple users are reporting the following error when trying jest@beta: Unrecognized CLI Parameters: Following options were not recognized: ...
Read more >
detected unrecognized cli options: --httpport - You.com
I am trying to deploy my code to AWS using Serverless through Gitlab cicd. All stages have been passed but when it comes...
Read more >
CLI - Prettier
Given a list of paths/patterns, the Prettier CLI first treats every entry in it as a literal ... prettier will ignore unknown files...
Read more >
Advanced Patterns — Click Documentation (8.1.x)
Both accept the command as the first argument and everything else is passed onwards as you would expect. Example: cli = click.Group() @cli...
Read more >
CLI reference - Semgrep
valid with a command-line specified pattern. Configuration options: [mutually_exclusive] -c, -f, --config TEXT YAML configuration file, directory ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found