You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Covers single-line, multi-line and it.each(...)(...) titles.
Verbs are moved to the base form after should (e.g. restores cache … and keeps it idle → should restore cache … and keep it idle).
Titles that started with a subject move the subject later (e.g. browser hydrates from default key → should hydrate from the default key in the browser).
Issue-prefixed titles in upstream-issues.test.ts put the issue number at the end (e.g. should … (#9910)).
Only titles change. A few it.each calls are re-wrapped by oxfmt because of the longer titles.
I have tested code changes locally with pnpm run test:pr, or these tests do not apply to this pull request.
I have followed the AI contribution policy and fully understand the code in this pull request, including any code generated with AI assistance.
🚀 Release Impact
This change affects published code, and I have generated a changeset.
This change is docs/CI/dev-only (no release).
Summary by CodeRabbit
Tests
Standardized test descriptions across Angular, React, Vue, core, and devtools packages to consistently state expected behavior. Test logic, assertions, and product behavior are unchanged.
No actionable comments were generated in the recent review.
Walkthrough
Test descriptions across Angular, React, Vue, query-core, and devtools suites were reworded, often to use “should” phrasing. Test logic and assertions remain unchanged. One migration test block was reformatted without changing its cases.
Test descriptions were reworded across package suites. Some descriptions clarify the behavior already covered by their unchanged tests. The dependency pin-policy test block was reformatted, and its cases remain unchanged.
This pull request only rewords test titles to start with "should". It does not change library behavior or what the tests check, so it carries no meaningful merge risk.
Pre-merge checks: 4
Check name
Status
Explanation
Title check
The title "test(*): start test titles with 'should'" matches the changeset. The PR renames test titles across the listed packages so each one starts with "should". The title is short, specific, and na…
Description check
The description follows the repository template. It has the Changes section with a clear explanation of the rename and its scope. The Checklist items are marked. The Release Impact section marks the c…
Linked Issues check
Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check
Check skipped because no linked issues were found for this pull request.
Full details: Title check
Explanation
The title "test(*): start test titles with 'should'" matches the changeset. The PR renames test titles across the listed packages so each one starts with "should". The title is short, specific, and names the main change. It uses a conventional-commit prefix, which is acceptable.
Full details: Description check
Explanation
The description follows the repository template. It has the Changes section with a clear explanation of the rename and its scope. The Checklist items are marked. The Release Impact section marks the change as docs/CI/dev-only with no release. The description matches the summarized changes, which are title-only edits across the listed packages.
Finishing Touches
Generate unit tests (beta)
Commit to this branch
Create a new PR
Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts
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.
Included review availability: This review used your included allowance. Your plan provides up to 10 included reviews per hour; 9 remain after this review.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🎯 Changes
Renames the remaining
it/testtitles that don't start withshouldso every test title inpackages/follows the same form.angular-query,angular-query-persist-client,query-core,query-devtools,react-query,vue-query-devtoolsit.each(...)(...)titles.should(e.g.restores cache … and keeps it idle→should restore cache … and keep it idle).browser hydrates from default key→should hydrate from the default key in the browser).upstream-issues.test.tsput the issue number at the end (e.g.should … (#9910)).it.eachcalls are re-wrapped by oxfmt because of the longer titles.✅ Checklist
pnpm run test:pr, or these tests do not apply to this pull request.🚀 Release Impact
Summary by CodeRabbit