test(angular-query*): prefix 'it' descriptions with 'should' for consistency#10547
test(angular-query*): prefix 'it' descriptions with 'should' for consistency#10547
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughTest case descriptions across multiple Angular Query test suites were updated to use consistent "should ..." phrasing conventions. No test logic, assertions, or execution flow was modified—only the human-readable description strings passed to Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Comment |
|
View your CI Pipeline Execution ↗ for commit a044d0f
☁️ Nx Cloud last updated this comment at |
🚀 Changeset Version PreviewNo changeset entries found. Merging this PR will not cause a version bump for any packages. |
size-limit report 📦
|
🎯 Changes
Prefixes
itdescriptions that didn't start withshouldin bothangular-query-experimentalandangular-query-persist-clienttests, matching the BDD convention already followed by the vast majority of tests in this repo.Examples
it('throws NG0203 with descriptive error...')→it('should throw NG0203 with descriptive error...')it('can be used outside injection context...')→it('should be usable outside injection context...')it('Returns number of fetching queries')→it('should return the number of fetching queries')it('reactive options should update mutation')→it('should update mutation when reactive options change')it('supports "in" operator')→it('should support "in" operator')it('allow optional initialData function')→it('should allow optional initialData function')it('restores cache from persister')→it('should restore cache from persister')Scope
Test descriptions where the subject is
TData/data/error(type-level tests) already carryshouldmid-sentence (e.g.'TData should always be defined when initialData is provided as an object'). Those are BDD-valid as-is and intentionally left untouched.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit
Release Notes