jest icon indicating copy to clipboard operation
jest copied to clipboard

[Bug]: Scripts with syntax errors are ignored by --onlyFailures

Open geoffswift opened this issue 1 year ago • 11 comments

Version

29.7.0

Steps to reproduce

  • Have a test script with a syntax error in it
  • Execute your tests and observe a test is reported as having failed
  • Execute the tests again with jest -f, and observe the output is
No failed test found.

Expected behavior

I would expect to be able to fix my script and rerun it with jest -f

Actual behavior

Executing jest -f yields

No failed test found.

Additional context

No response

Environment

System:
    OS: macOS 15.1
    CPU: (10) arm64 Apple M1 Pro
  Binaries:
    Node: 20.12.0 - ~/.nvm/versions/node/v20.12.0/bin/node
    Yarn: 1.22.19 - /opt/homebrew/bin/yarn
    npm: 10.9.0 - ~/.nvm/versions/node/v20.12.0/bin/npm
    pnpm: 8.5.1 - /opt/homebrew/bin/pnpm

geoffswift avatar Nov 16 '24 17:11 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Dec 16 '24 17:12 github-actions[bot]

Bump. Please fix.

geoffswift avatar Dec 17 '24 14:12 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Jan 16 '25 15:01 github-actions[bot]

Bump. Please fix

geoffswift avatar Jan 25 '25 12:01 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Feb 24 '25 13:02 github-actions[bot]

Bump. Please fix

geoffswift avatar Feb 28 '25 12:02 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Mar 30 '25 14:03 github-actions[bot]

Bump. Please fix

geoffswift avatar Mar 30 '25 14:03 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Apr 29 '25 15:04 github-actions[bot]

Bump. Please fix

geoffswift avatar Apr 30 '25 10:04 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar May 30 '25 12:05 github-actions[bot]

Bump, please fix

geoffswift avatar Jun 23 '25 15:06 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Jul 23 '25 16:07 github-actions[bot]

Bump, please fix

geoffswift avatar Jul 26 '25 09:07 geoffswift

This issue is stale because it has been open 30 days with no activity. Remove stale label or comment or this will be closed in 30 days.

github-actions[bot] avatar Aug 25 '25 09:08 github-actions[bot]

I agree it should be fixed! Sorry about the bot 😅

SimenB avatar Aug 25 '25 15:08 SimenB

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[bot] avatar Nov 10 '25 00:11 github-actions[bot]