Unit tests for Sidebar and useSidebar logic
Terms
- [x] I have searched open and closed feature requests
- [x] I agree to follow activist's Code of Conduct
Description
Add unit tests for Sidebar (frontend/app/components/sidebar/left/SidebarLeft.vue and related files) and its logic (including useSidebar composable and sidebarUtils.ts).
Focus on:
- Logic: collapsed/expanded state, event emission, useSidebar composable logic
- Styling: dynamic classes (collapsed, expanded), Tailwind application
- Accessibility: ARIA attributes set via logic only; leave full a11y checks to e2e
- Responsive and dynamic style changes
Document any additional sidebar-related components needing coverage.
Contribution
No response
Hi @nicki182 , please assign me this task, I will work on this
@ayushdoesdev done ;)
Closed by #1657 🚀 Thanks for the work here, @ayushdoesdev!
thankyou @andrewtavis I was on a lonngg weekend, happy to see if my contributions work, please let me know if I can help more. My main expertise is in server side.