test: add search API permission sync coverage#1428
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdds a new Vitest test file for ChangessearchApi Test Coverage
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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. Comment |
|
Hi! Just checking in on this PR. Happy to make any additional changes if needed. @brianphillips @berezovskyi @kenyon |
What changed
Added a Vitest test for search API permission sync behavior.
Testing
Ran:
corepack yarn workspace @sourcebot/web vitest run src/features/search/searchApi.test.ts
Verified that disabled permission sync does not restrict repository search scope.
Summary by CodeRabbit