Skip to content

fix: Keep CLI coverage output when using --json with --outputFile#15918

Merged
cpojer merged 2 commits intojestjs:mainfrom
notoriousmango:12427
Jan 21, 2026
Merged

fix: Keep CLI coverage output when using --json with --outputFile#15918
cpojer merged 2 commits intojestjs:mainfrom
notoriousmango:12427

Conversation

@notoriousmango
Copy link
Copy Markdown
Contributor

Summary

close #12427

Test plan

e2e

@netlify
Copy link
Copy Markdown

netlify bot commented Dec 14, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit c76bf23
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/693e58c06d13d40008fef3af
😎 Deploy Preview https://deploy-preview-15918--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.

@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new bot commented Dec 14, 2025

Open in StackBlitz

babel-jest

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

babel-plugin-jest-hoist

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

babel-preset-jest

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

create-jest

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

@jest/diff-sequences

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

expect

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

@jest/expect-utils

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

jest

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

jest-changed-files

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

jest-circus

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

jest-cli

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

jest-config

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

@jest/console

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

@jest/core

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

@jest/create-cache-key-function

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

jest-diff

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

jest-docblock

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

jest-each

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

@jest/environment

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

jest-environment-jsdom

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

@jest/environment-jsdom-abstract

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

jest-environment-node

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

@jest/expect

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

@jest/fake-timers

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

@jest/get-type

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

@jest/globals

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

jest-haste-map

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

jest-jasmine2

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

jest-leak-detector

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

jest-matcher-utils

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

jest-message-util

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

jest-mock

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

@jest/pattern

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

jest-phabricator

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

jest-regex-util

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

@jest/reporters

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

jest-resolve

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

jest-resolve-dependencies

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

jest-runner

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

jest-runtime

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

@jest/schemas

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

jest-snapshot

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

@jest/snapshot-utils

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

@jest/source-map

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

@jest/test-result

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

@jest/test-sequencer

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

@jest/transform

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

@jest/types

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

jest-util

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

jest-validate

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

jest-watcher

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

jest-worker

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

pretty-format

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

commit: c76bf23

Copy link
Copy Markdown
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.

Makes sense, yeah.

@cpojer cpojer merged commit a6ce37e into jestjs:main Jan 21, 2026
74 checks passed
@github-actions
Copy link
Copy Markdown

This pull request 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 github-actions bot locked as resolved and limited conversation to collaborators Feb 21, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[Bug]: Using --outputFile --json suppresses CLI coverage output

2 participants