ant-design / ant-design/pro-components

🧐[问题]我提了一个PR,给了这么一个错误“1 lines in your changes are missing coverage. Please review”

Open
#8,102 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4.8k
Forks
1.4k
Avg merge
10h 44m
Merged PRs (30d)
3

Description

提问前先看看:

https://github.com/ant-design/pro-components/pull/8056

### 🧐 问题描述
提了一个PR,但是github报出了这么一个问题。看上去像是单测的问题,但是不太懂要怎么处理。
![image](https://github.com/ant-design/pro-components/assets/24557533/01752c28-d5c9-41c9-bafb-a1e76df7bfc7)

### 💻 示例代码
![image](https://github.com/ant-design/pro-components/assets/24557533/d8dfd737-8850-420f-896e-fd0bcc0377cd)

Contributor guide

Open the contributing guide

Research direction

Start by reviewing PR #8056 and the linked coverage warning to identify which changed line lacks coverage. Check the repository's existing test and coverage configuration, then verify that the missing line is covered and the GitHub check passes.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
ci-cd, testing
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.