Skip to content

Conversation

@ahnpnl
Copy link
Contributor

@ahnpnl ahnpnl commented Oct 13, 2025

Summary

Update testEnvironment and testEnvironmentOptions docs to indicate clearer:

  • what are possible values for testEnvironment and how to configure a custom one
  • what are possible properties for testEnvironmentOptions

Test plan

Green CI

@netlify
Copy link

netlify bot commented Oct 13, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit eb33c36
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/68ff82732369120008d4e690
😎 Deploy Preview https://deploy-preview-15866--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

pkg-pr-new bot commented Oct 13, 2025

Open in StackBlitz

babel-jest

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

babel-plugin-jest-hoist

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

babel-preset-jest

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

create-jest

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

@jest/diff-sequences

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

expect

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

@jest/expect-utils

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

jest

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

jest-changed-files

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

jest-circus

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

jest-cli

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

jest-config

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

@jest/console

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

@jest/core

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

@jest/create-cache-key-function

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

jest-diff

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

jest-docblock

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

jest-each

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

@jest/environment

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

jest-environment-jsdom

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

@jest/environment-jsdom-abstract

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

jest-environment-node

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

@jest/expect

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

@jest/fake-timers

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

@jest/get-type

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

@jest/globals

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

jest-haste-map

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

jest-jasmine2

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

jest-leak-detector

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

jest-matcher-utils

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

jest-message-util

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

jest-mock

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

@jest/pattern

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

jest-phabricator

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

jest-regex-util

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

@jest/reporters

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

jest-resolve

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

jest-resolve-dependencies

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

jest-runner

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

jest-runtime

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

@jest/schemas

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

jest-snapshot

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

@jest/snapshot-utils

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

@jest/source-map

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

@jest/test-result

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

@jest/test-sequencer

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

@jest/transform

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

@jest/types

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

jest-util

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

jest-validate

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

jest-watcher

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

jest-worker

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

pretty-format

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

commit: eb33c36

@ahnpnl ahnpnl marked this pull request as ready for review October 13, 2025 20:50
@ahnpnl ahnpnl force-pushed the docs/update-test-env branch from 7751fe1 to 1892426 Compare October 14, 2025 14:05
@ahnpnl
Copy link
Contributor Author

ahnpnl commented Oct 14, 2025

Hi @cpojer @SimenB would you please this? I reworked the doc taking inspiration from Vitest

@ahnpnl ahnpnl force-pushed the docs/update-test-env branch from 1892426 to eb33c36 Compare October 27, 2025 14:32
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.

1 participant