-
Notifications
You must be signed in to change notification settings - Fork 466
Docs: fix deprecated option in installation.md #4926
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
Conversation
Option "init" has been deprecated.
WalkthroughThe installation documentation was updated to recommend using the Changes
Poem
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Actionable comments posted: 0
🧹 Nitpick comments (1)
website/versioned_docs/version-29.3/getting-started/installation.md (1)
45-46: Add explicit command examples for better copy-&-paste UXSince earlier sections provide concrete copy-pasteable commands (
npx ts-jest config:init,yarn ts-jest config:init), consider mirroring that style here so readers don’t have to infer the exact syntax of the new recommendation.-You can also use the `create-jest` command (prefixed with either `npx` or `yarn` depending on what you're using) to have more options related to Jest. +You can also use the `create-jest` command to access the interactive Jest initializer: + +```npm tab +npx create-jest +``` + +```Yarn tab +yarn create jest +``` + +```pnpm tab +pnpm create jest +``` + +This offers more configuration options for Jest during setup.Keeps the documentation consistent and immediately actionable.
|
Thanks, I included this in #4929 to release a new version for doc |
Summary
Option "jest --init" has been deprecated.
Test plan
Does this PR introduce a breaking change?
Other information
Summary by CodeRabbit
create-jestcommand instead ofjest --init.