-
-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Closed
Description
π Bug Report
When running the jest without cli options, it's failing.
receiving following message in console
> jest
β Unrecognized CLI Parameters:
Following options were not recognized:
["run-in-band", "test-location-in-results"]
CLI Options Documentation:
https://jestjs.io/docs/en/cli.html
npm ERR! Test failed. See above for more details.
Problem is with version 26.0.1 (and 26.0.0). Same scenario is working with version 25.5.4.
To Reproduce
Followed the docs of jest. https://jestjs.io/docs/en/getting-started
Expected behavior
When no option is set, it is expected to run all tests.
Link to repl or repo (highly encouraged)
https://github.com/basarbk/jest-without-params-fail
envinfo
System:
OS: Windows 10 10.0.10240
CPU: (4) x64 Intel(R) Core(TM) i5-6300U CPU @ 2.40GHz
Binaries:
Node: 12.13.1 - C:\Program Files\nodejs\node.EXE
npm: 6.13.1 - C:\Program Files\nodejs\npm.CMD
npmPackages:
jest: ^26.0.1 => 26.0.1