Skip to content

fix: jest --onlyFailures --listTests now correctly lists only failed tests #15700

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

Merged
merged 3 commits into from
Jun 27, 2025

Conversation

notoriousmango
Copy link
Contributor

Summary

resolve #15425
move onlyFailures before listTests

Test plan

e2e test

Copy link

netlify bot commented Jun 25, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit d36f4bc
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/685b8582c26da800086a6a7f
😎 Deploy Preview https://deploy-preview-15700--jestjs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link

pkg-pr-new bot commented Jun 25, 2025

Open in StackBlitz

babel-jest

npm i https://pkg.pr.new/babel-jest@15700

babel-plugin-jest-hoist

npm i https://pkg.pr.new/babel-plugin-jest-hoist@15700

babel-preset-jest

npm i https://pkg.pr.new/babel-preset-jest@15700

create-jest

npm i https://pkg.pr.new/create-jest@15700

@jest/diff-sequences

npm i https://pkg.pr.new/@jest/diff-sequences@15700

expect

npm i https://pkg.pr.new/expect@15700

@jest/expect-utils

npm i https://pkg.pr.new/@jest/expect-utils@15700

jest

npm i https://pkg.pr.new/jest@15700

jest-changed-files

npm i https://pkg.pr.new/jest-changed-files@15700

jest-circus

npm i https://pkg.pr.new/jest-circus@15700

jest-cli

npm i https://pkg.pr.new/jest-cli@15700

jest-config

npm i https://pkg.pr.new/jest-config@15700

@jest/console

npm i https://pkg.pr.new/@jest/console@15700

@jest/core

npm i https://pkg.pr.new/@jest/core@15700

@jest/create-cache-key-function

npm i https://pkg.pr.new/@jest/create-cache-key-function@15700

jest-diff

npm i https://pkg.pr.new/jest-diff@15700

jest-docblock

npm i https://pkg.pr.new/jest-docblock@15700

jest-each

npm i https://pkg.pr.new/jest-each@15700

@jest/environment

npm i https://pkg.pr.new/@jest/environment@15700

jest-environment-jsdom

npm i https://pkg.pr.new/jest-environment-jsdom@15700

@jest/environment-jsdom-abstract

npm i https://pkg.pr.new/@jest/environment-jsdom-abstract@15700

jest-environment-node

npm i https://pkg.pr.new/jest-environment-node@15700

@jest/expect

npm i https://pkg.pr.new/@jest/expect@15700

@jest/fake-timers

npm i https://pkg.pr.new/@jest/fake-timers@15700

@jest/get-type

npm i https://pkg.pr.new/@jest/get-type@15700

@jest/globals

npm i https://pkg.pr.new/@jest/globals@15700

jest-haste-map

npm i https://pkg.pr.new/jest-haste-map@15700

jest-jasmine2

npm i https://pkg.pr.new/jest-jasmine2@15700

jest-leak-detector

npm i https://pkg.pr.new/jest-leak-detector@15700

jest-matcher-utils

npm i https://pkg.pr.new/jest-matcher-utils@15700

jest-message-util

npm i https://pkg.pr.new/jest-message-util@15700

jest-mock

npm i https://pkg.pr.new/jest-mock@15700

@jest/pattern

npm i https://pkg.pr.new/@jest/pattern@15700

jest-phabricator

npm i https://pkg.pr.new/jest-phabricator@15700

jest-regex-util

npm i https://pkg.pr.new/jest-regex-util@15700

@jest/reporters

npm i https://pkg.pr.new/@jest/reporters@15700

jest-resolve

npm i https://pkg.pr.new/jest-resolve@15700

jest-resolve-dependencies

npm i https://pkg.pr.new/jest-resolve-dependencies@15700

jest-runner

npm i https://pkg.pr.new/jest-runner@15700

jest-runtime

npm i https://pkg.pr.new/jest-runtime@15700

@jest/schemas

npm i https://pkg.pr.new/@jest/schemas@15700

jest-snapshot

npm i https://pkg.pr.new/jest-snapshot@15700

@jest/snapshot-utils

npm i https://pkg.pr.new/@jest/snapshot-utils@15700

@jest/source-map

npm i https://pkg.pr.new/@jest/source-map@15700

@jest/test-result

npm i https://pkg.pr.new/@jest/test-result@15700

@jest/test-sequencer

npm i https://pkg.pr.new/@jest/test-sequencer@15700

@jest/transform

npm i https://pkg.pr.new/@jest/transform@15700

@jest/types

npm i https://pkg.pr.new/@jest/types@15700

jest-util

npm i https://pkg.pr.new/jest-util@15700

jest-validate

npm i https://pkg.pr.new/jest-validate@15700

jest-watcher

npm i https://pkg.pr.new/jest-watcher@15700

jest-worker

npm i https://pkg.pr.new/jest-worker@15700

pretty-format

npm i https://pkg.pr.new/pretty-format@15700

commit: d36f4bc

Copy link
Member

@cpojer cpojer left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Never thought about this, makes sense. Thank you!

@cpojer cpojer merged commit 2c1249e into jestjs:main Jun 27, 2025
57 of 76 checks passed
@notoriousmango notoriousmango deleted the 15425 branch July 3, 2025 01:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug]: All tests are listed by jest --onlyFailures --listTests
2 participants