Description
The NavbarBrand component currently lacks dedicated unit tests. This component is responsible for rendering the Learnova brand link, logo, and navigation callback behavior. Adding tests will ensure that branding and navigation functionality continue to work correctly during future changes.
Steps to Reproduce
- Navigate to
components/navigation/NavbarBrand.jsx.
- Check the existing test suite.
- Observe that no dedicated test file exists for this component.
- Notice there is no automated coverage validating its rendering and navigation behavior.
Expected Behavior
A test suite should verify:
- Learnova branding text renders correctly.
- Premium label renders correctly.
- Homepage link points to
/.
- Accessible label is present.
onNavigate callback executes when the link is clicked.
Screenshots
Not applicable.
Environment
- OS: Windows, macOS, Linux
- Browser: Chrome, Firefox, Safari, Edge
- Version: Latest supported versions
Description
The
NavbarBrandcomponent currently lacks dedicated unit tests. This component is responsible for rendering the Learnova brand link, logo, and navigation callback behavior. Adding tests will ensure that branding and navigation functionality continue to work correctly during future changes.Steps to Reproduce
components/navigation/NavbarBrand.jsx.Expected Behavior
A test suite should verify:
/.onNavigatecallback executes when the link is clicked.Screenshots
Not applicable.
Environment