You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
Clone the Repository:
git clone https://github.com/Vidit-Kushwaha/react-popupify.git
cd react-popupify
Install Dependencies:
npm install
Run Tests:
npm test
Add Your Tests: Write tests using testing framework Jest and ensure they are added to the appropriate files i.e. ./src/__test__
Submit a Pull Request: Once you have added your tests, submit a pull request to the main branch with the details of your contributions.
The text was updated successfully, but these errors were encountered:
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
git clone https://github.com/Vidit-Kushwaha/react-popupify.git cd react-popupify
npm test
Add Your Tests: Write tests using testing framework Jest and ensure they are added to the appropriate files i.e.
./src/__test__
Submit a Pull Request: Once you have added your tests, submit a pull request to the main branch with the details of your contributions.
The text was updated successfully, but these errors were encountered: