Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CLI parameters throw "error: unknown option" #9379

Closed
bkimminich opened this issue Jan 8, 2020 · 2 comments
Closed

CLI parameters throw "error: unknown option" #9379

bkimminich opened this issue Jan 8, 2020 · 2 comments

Comments

@bkimminich
Copy link

bkimminich commented Jan 8, 2020

💥 Regression Report

Many CLI parameters are reported as error: unknown option, e.g.

  • --silent
  • --runInBand
  • --forceExit

Still working are for example:

  • -v
  • --help (listing also the three failing examples above)

Last working version

Worked up to version: "jest": "^24.9.0" in https://travis-ci.org/bkimminich/juice-shop/builds/634029414

Stopped working in version: same in https://travis-ci.org/bkimminich/juice-shop/jobs/634173394 a few hours later (also failing with "jest": "^25.0.0")

To Reproduce

Steps to reproduce the behavior:

  1. git clone https://github.com/bkimminich/juice-shop.git
  2. git checkout 528f6ab7b06f5df9ff523039e1f954d5a4bea595
  3. npm install
  4. npm run frisby (or just jest --silent --runInBand --forceExit)

Expected behavior

The CLI parameters are accepted and work as before.

Link to repl or repo (highly encouraged)

https://github.com/bkimminich/juice-shop/tree/develop

Run npx envinfo --preset jest

Paste the results here:

  System:
    OS: Windows 10 10.0.17763
    CPU: (4) x64 Intel(R) Core(TM) i7-5600U CPU @ 2.60GHz
  Binaries:
    Node: 10.15.3 - C:\Program Files\nodejs\node.EXE
    npm: 6.4.1 - C:\Program Files\nodejs\npm.CMD
  npmPackages:
    jest: ^24.9.0 => 24.9.0
@bkimminich
Copy link
Author

Problem occurs when importing yaml-schema-validator in code under test... 😕

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant