Skip to content

Write a Unit Test for "Tabs" component #149

@sunilk429

Description

@sunilk429

Issue Description

The Tabs component currently lacks any unit tests.

Expected Behavior

  • Unit tests should be added for the Tabs component to verify:
    • Rendering of all provided tabs.
    • Proper sorting of tabs based on the order property.
    • Active styling is correctly applied to the current tab based on the pathname.
    • Each tab has the correct href value.

Current Behavior

There are no unit tests for the Tabs component in the project.

Reproducibility

  • This issue is reproducible
  • This issue is not reproducible

You can reproduce this issue by navigating to the _tests_ folder and confirming that there are no unit tests for the Tabs component.

Steps to Reproduce

  1. Navigate to the _tests_ folder.
  2. Verify that no unit tests exist for the Tabs component.

Severity/Priority

  • Critical
  • High
  • Medium
  • Low

Checklist

  • I have read and followed the project's code of conduct.
  • I have searched for similar issues before creating this one.
  • I have provided all the necessary information to understand and reproduce the issue.
  • I am willing to contribute to the resolution of this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions