Skip to content

Hook unit-testing journey #423

@juliencrn

Description

@juliencrn

Overview

This GitHub issue serves as a central hub for the unit-testing journey of our React hook library. Our goal is to ensure robust and reliable testing for each individual hook in the library.

Objectives

  1. Comprehensive Testing: Write unit tests for each hook to ensure thorough coverage of functionality.
  2. Consistent Test Structure: Maintain a consistent structure/format for unit tests across all hooks.
  3. Documentation: Document the purpose and usage of each test to enhance overall project understanding.

Getting Started

  1. Fork the repository to your account.
  2. Create a new branch for your tests: git checkout -b feature/hook-name-tests.
  3. Write tests for the specific hook in packages/usehooks-ts/src/useExample/useExample.test.ts.
  4. Ensure all tests pass before submitting a pull request.

Hooks to Test

Let's ensure our hooks are well-tested and reliable!

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions