beckn / beckn/strapi-plugins

Unit test case for Strapi plugin - Update endpoint

Open
#39 1 comment 0 reactions 1 assignee Claimed by @zoyaashik View on GitHub
QA strapi-plugins
Dominant language
TypeScript
Stars
0
Forks
5
PR merge metrics
No merged PRs in 30d

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.