Jest "Watch Usage" actions are mapping incorrectly.
See original GitHub issue🐛 Bug Report
To Reproduce
Steps to reproduce the behavior:
- press
f
to run all failing tests first. You should get “Unexpected Behavior Image 2” - Now press
a
to run all tests. You should get “Unexpected Behavior Image 1”
Expected behavior
f
should always map “to only run failed tests.”a
should always map “to run all tests.”
Run npx envinfo --preset jest
Paste the results here:
System:
OS: macOS High Sierra 10.13.4
CPU: x64 Intel(R) Core(TM) i7-7567U CPU @ 3.50GHz
Binaries:
Node: 8.9.3 - ~/.nvm/versions/node/v8.9.3/bin/node
Yarn: 1.5.1 - /usr/local/bin/yarn
npm: 5.6.0 - ~/.nvm/versions/node/v8.9.3/bin/npm
npmPackages:
@types/jest: 22.2.2 => 22.2.2
jest: 22.4.3 => 22.4.3
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (3 by maintainers)
Top Results From Across the Web
Configuring Jest
The file will be discovered automatically, if it is named jest.config.js|ts|mjs|cjs|json . You can use --config flag to pass an explicit path to...
Read more >Jest Testing like a Pro - Tips and tricks
If the methods you want to test are asynchronous, be it callbacks, promises or async, it is not a problem with Jest. The...
Read more >Testing React Applications with Jest - Auth0
Learn how to test React applications with the Jest JavaScript testing framework. ... For this use the npm test -- --watch command.
Read more >ts-jest - npm
A Jest transformer with source map support that lets you use Jest to test ... vulnerabilities Coverage status GitHub actions GitHub license.
Read more >babel-jest | Yarn - Package Manager
Usage. If you are already using jest-cli , add babel-jest and it will automatically compile JavaScript code using Babel. yarn add --dev babel-jest...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Fixed in the #6182 pr 😃 Just got the CI to pass.
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.