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

Help Needed: Improve Test Coverage for react-popupify #1

Open
Vidit-Kushwaha opened this issue Jul 1, 2024 · 0 comments
Open

Help Needed: Improve Test Coverage for react-popupify #1

Vidit-Kushwaha opened this issue Jul 1, 2024 · 0 comments
Labels
hacktoberfest help wanted Extra attention is needed

Comments

@Vidit-Kushwaha
Copy link
Owner

Introduction

Hello everyone,

We are continuously striving to improve the quality and reliability of our codebase. One area that could use some help is our test coverage.

Current Coverage

As of now, our test coverage is 74%. While this is a good start, there is room for improvement. Increasing our test coverage will help ensure that our code is robust, and that new features or changes do not introduce bugs.

How You Can Help

We are looking for contributors to help write tests for the following areas:

  • PopupManager: Improve branch coverage for this singleton state manager.
  • Transition.tsx: Test different transition states and edge cases.
  • PopupContainer.tsx: Ensure all props and states are tested, along with event handlers and integration points.

If you are new to testing or need guidance on how to get started, we have provided some resources below.

Getting Started

  1. Clone the Repository:
git clone https://github.com/Vidit-Kushwaha/react-popupify.git
cd react-popupify
  1. Install Dependencies:
npm install
  1. Run Tests:
npm test
  1. Add Your Tests: Write tests using testing framework Jest and ensure they are added to the appropriate files i.e. ./src/__test__

  2. Submit a Pull Request: Once you have added your tests, submit a pull request to the main branch with the details of your contributions.

@Vidit-Kushwaha Vidit-Kushwaha added the help wanted Extra attention is needed label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

1 participant