Skip to content

Conversation

joshkel
Copy link
Contributor

@joshkel joshkel commented Jul 25, 2025

Summary

Update resolver docs. The packageFilter option to defaultResolver appears to have gone away as part of #15619. The versioned 30.0 docs were correctly updated, but the "Next" docs were not.

Shorten the URL comment to make it less likely to induce scrolling.

I also added another example of a resolver that I've found useful in my own project. Feedback/corrections welcome.

Test plan

Reviewed the site locally

Note: The main jestjs.io site does not appear to have been updated from the repo; its https://jestjs.io/docs/configuration#resolver-string page still reflects defaultResolver and shows the last edit as June 10. (Compare with Git history.)

The `packageFilter` option to `defaultResolver` appears to have gone away as part of jestjs#15619. The versioned 30.0 docs were correctly updated, but the "Next" docs were not.

Shorten the URL comment to make it less likely to induce scrolling.

I also added another example of a resolver that I've found useful in my own project. Feedback/corrections welcome.
Copy link

linux-foundation-easycla bot commented Jul 25, 2025

CLA Signed

The committers listed above are authorized under a signed CLA.

  • ✅ login: cpojer / name: Christoph Nakazawa (bc60f02)
  • ✅ login: joshkel / name: Josh Kelley (d880717)

Copy link

netlify bot commented Jul 25, 2025

Deploy Preview for jestjs ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit bc60f02
🔍 Latest deploy log https://app.netlify.com/projects/jestjs/deploys/68858cb0da515500087c281d
😎 Deploy Preview https://deploy-preview-15749--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 Jul 25, 2025

Open in StackBlitz

babel-jest

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

babel-plugin-jest-hoist

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

babel-preset-jest

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

create-jest

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

@jest/diff-sequences

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

expect

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

@jest/expect-utils

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

jest

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

jest-changed-files

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

jest-circus

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

jest-cli

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

jest-config

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

@jest/console

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

@jest/core

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

@jest/create-cache-key-function

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

jest-diff

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

jest-docblock

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

jest-each

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

@jest/environment

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

jest-environment-jsdom

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

@jest/environment-jsdom-abstract

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

jest-environment-node

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

@jest/expect

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

@jest/fake-timers

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

@jest/get-type

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

@jest/globals

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

jest-haste-map

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

jest-jasmine2

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

jest-leak-detector

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

jest-matcher-utils

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

jest-message-util

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

jest-mock

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

@jest/pattern

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

jest-phabricator

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

jest-regex-util

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

@jest/reporters

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

jest-resolve

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

jest-resolve-dependencies

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

jest-runner

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

jest-runtime

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

@jest/schemas

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

jest-snapshot

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

@jest/snapshot-utils

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

@jest/source-map

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

@jest/test-result

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

@jest/test-sequencer

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

@jest/transform

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

@jest/types

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

jest-util

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

jest-validate

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

jest-watcher

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

jest-worker

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

pretty-format

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

commit: bc60f02

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.

Thank you!

@cpojer cpojer merged commit fe7f28c into jestjs:main Jul 27, 2025
4 of 5 checks passed
@joshkel joshkel deleted the packageFilter branch July 31, 2025 17:22
Copy link

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 Aug 31, 2025
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.

2 participants