test(query-core/utils): add test for exposing the signal on the query context in 'addConsumeAwareSignal'#10863
Conversation
… context in 'addConsumeAwareSignal'
|
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 (1)
📝 WalkthroughWalkthroughAdds a unit test for ChangesaddConsumeAwareSignal test coverage
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
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)
Warning Review ran into problems🔥 ProblemsGit: Failed to clone repository. Please run the Comment |
|
View your CI Pipeline Execution ↗ for commit 1432059
☁️ 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
Adds a unit test for
addConsumeAwareSignalcovering its core contract: the helper attaches a lazysignalproperty to the given query context object while preserving the object's original properties.This mirrors how
streamedQueryandinfiniteQueryBehaviorrely on the helper to expose anAbortSignalon the query function context.✅ Checklist
pnpm run test:pr.🚀 Release Impact
Summary by CodeRabbit