react-chatbotify / react-chatbotify/gallery-website

[Task] Add unit test cases for PluginCard component

Open
#120 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

good first issue hacktoberfest
Dominant language
TypeScript
Stars
10
Forks
15
PR merge metrics
No merged PRs in 30d

Description

Task Description:
Currently, we run unit tests using jest and co-locate the test files with the source files as can be seen here.

However, the test cases are not yet comprehensive enough and work can be done to cover more grounds. Specifically for this issue, we hope to add test cases for the PluginCard component.

Deliverable(s):
New unit test cases that cover the testing of the PluginCard component.

Additional Context:

  • The PluginCard component can be found here
  • An example for SearchBar can be found here which may serve as a good source for reference

If you find this project useful, please consider giving it a star—it really helps! Also, feel free to check out other repositories under the organization as well as a new vibe-engineers initiative for more opportunities to contribute! 😊

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by inspecting the PluginCard component under src/components/Plugins and compare its structure with the co-located tests in src/components/FadeComponent. Read src/components/SearchBar/SearchBar.test.tsx for the project’s Jest testing style, then add PluginCard unit tests covering its relevant behavior and run the Jest suite to confirm they pass.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
frontend, testing
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
54/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.