You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have to Ctrl+C to Terminate batch job (Y/N) out of npx nx test my-proj --watch and cannot use any of the keys shown below, .
Running npx jest --watch in the project root works as expected, listing and responding to the keys shown below, e.g. Press a to run all tests or Press q to quit watch mode wlog.
Expected Behavior
npx nx test my-project --watch in a brand-new workspace should watch tests the same way npx jext --watch in the project root does.
GitHub Repo
No response
Steps to Reproduce
npx create-nx-workspace@latest ws -y --workspaceType=integrated --preset=apps --ci=skip
cd ws
npx nx g @nx/js:library --name=my-proj --directory=libs/my-proj --projectNameAndRootFormat=as-provided --unitTestRunner=jest --bundler=none
npx nx test my-proj --watch
# observe the jest watching options are not displayed
# project is being watched properly but the jest features are not working
This works as expected
cd .\libs\my-proj\
npx jest --watch
# observe watch usage and keypress handling
cd ../..
Watch Usage
› Press a to run all tests.
› Press f to run only failed tests.
› Press p to filter by a filename regex pattern.
› Press t to filter by a test name regex pattern.
› Press q to quit watch mode.
› Press Enter to trigger a test run.
The text was updated successfully, but these errors were encountered:
Current Behavior
I have to
Ctrl+C
toTerminate batch job (Y/N)
out ofnpx nx test my-proj --watch
and cannot use any of the keys shown below, .Running
npx jest --watch
in the project root works as expected, listing and responding to the keys shown below, e.g.Press a to run all tests
orPress q to quit watch mode
wlog.Expected Behavior
npx nx test my-project --watch
in a brand-new workspace should watch tests the same waynpx jext --watch
in the project root does.GitHub Repo
No response
Steps to Reproduce
This works as expected
Nx Report
Failure Logs
No response
Package Manager Version
No response
Operating System
Additional Information
Watch Usage
The text was updated successfully, but these errors were encountered: