Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hook unit-testing journey #423

Open
29 of 32 tasks
juliencrn opened this issue Jan 16, 2024 · 0 comments
Open
29 of 32 tasks

Hook unit-testing journey #423

juliencrn opened this issue Jan 16, 2024 · 0 comments
Labels
help wanted Extra attention is needed

Comments

@juliencrn
Copy link
Owner

juliencrn commented Jan 16, 2024

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!

@juliencrn juliencrn added bug Something isn't working and removed bug Something isn't working labels Jan 16, 2024
@juliencrn juliencrn changed the title Testing journey Hook unit-testing journey Jan 16, 2024
@juliencrn juliencrn reopened this Jan 16, 2024
@juliencrn juliencrn added the help wanted Extra attention is needed label Jan 16, 2024
@juliencrn juliencrn pinned this issue Jan 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant