Unit test case for Strapi plugin - Update endpoint
@zoyaashik is already working on this.
Since Mar 5, 2024.
Assessment
This issue has not been assessed yet.
Description
Description
The current Strapi plugin lacks unit test coverage for the update endpoint. Developing comprehensive unit test cases covering both product and service flows is imperative, aiming for a minimum of 90% code coverage.
Goals
- Develop unit test cases for the update endpoint.
Expected Outcome
Completion of unit test cases for the update endpoint achieving a code coverage of 90% or higher.
Acceptance Criteria
- Unit test cases must achieve a code coverage of over 90%.
Implementation Details
Utilize the Jest framework to create unit test cases.
Mockups / Wireframes
[Include links to any visual aids, mockups, wireframes, or diagrams that help illustrate what the final product should look like. This is not always necessary, but can be very helpful in many cases.]
[Please note that the below section of the ticket must adhere to the specified format as it is crucial for proper project listing. Please select only the options mentioned under the headings where applicable.]
Product Name
Strapi Plugin
Project Name
strapi-plugins
Organization Name:
[Organization Name]
Domain
[Area of governance]
Tech Skills Needed:
- Node.js
- Jest
Complexity
Medium
Category
Test case
Sub Category
Test case creation
- Dominant language
- TypeScript
- Stars
- 0
- Forks
- 5
- PR merge metrics
- No merged PRs in 30d
Getting set up
We have not checked this project's setup files yet. Start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from beckn/strapi-plugins
-
Migrated MySQL Unified-Strapi-Dev Database to Unified-Strapi-StagingMay be free again @em-tpt-bbandi claimed this 629 days ago, and no pull request is open. Openstrapi-plugins
beckn/strapi-plugins#227 · 1 comment · 1 assignee ·
-
Deployed Unified-Strapi-Staging on Bpp-Unified-Staging Machine with DNS Entry and Nginx ConfigurationMay be free again @em-tpt-bbandi claimed this 629 days ago, and no pull request is open. Openstrapi-plugins
beckn/strapi-plugins#226 · 1 comment · 1 assignee ·
-
bug QA
beckn/strapi-plugins#194 · 4 comments · 1 assignee ·
-
Merging consumer & prosumer flow : Code changes & Install Unified plugin in the new strapiMay be free again @em-abee claimed this 678 days ago, and no pull request is open. Open
beckn/strapi-plugins#193 · 1 comment · 1 assignee ·
-
Merging consumer & prosumer flow : Import tables and their corresponding schema files of BPP and BAP in the new strapiMay be free again @em-abee claimed this 678 days ago, and no pull request is open. Open
beckn/strapi-plugins#192 · 1 comment · 1 assignee ·
All issues in beckn/strapi-plugins
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
rohitg00/agentmemory#1428 ·
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
boxlite-ai/boxlite#1729 ·
Maintainers usually reply within 1 day
-
detectors enhancement good first issue
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
SM260845/readme-gen#1 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
angular/angularfire#3774 ·
Maintainers usually reply within 2 days