Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: migrate tests to testing-library #539

Merged
merged 14 commits into from
Nov 30, 2023

Conversation

Wxh16144
Copy link
Contributor

Background: #514 (comment)

Copy link

vercel bot commented Nov 28, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
pagination ❌ Failed (Inspect) Nov 29, 2023 4:23am

@Wxh16144 Wxh16144 changed the title WIP test: migrate tests to testing-library test: migrate tests to testing-library Nov 29, 2023
@Wxh16144
Copy link
Contributor Author

Ready~, review at any time

Copy link

codecov bot commented Nov 29, 2023

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (a513003) 98.66% compared to head (745be0b) 98.69%.
Report is 4 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #539      +/-   ##
==========================================
+ Coverage   98.66%   98.69%   +0.02%     
==========================================
  Files           3        3              
  Lines         300      306       +6     
  Branches      133      136       +3     
==========================================
+ Hits          296      302       +6     
  Misses          4        4              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@Wxh16144
Copy link
Contributor Author

这里 ae34163 可能需要确认一下?

@afc163
Copy link
Member

afc163 commented Nov 29, 2023

没问题,不需要额外的 types 配置了。

@afc163
Copy link
Member

afc163 commented Nov 29, 2023

测试文件也重构成 ts ?

@Wxh16144
Copy link
Contributor Author

这里 ae34163 可能需要确认一下?

测试文件也重构成 ts ?

重构了,顺手补充了一下 ts 类型 see:745be0b

Copy link
Member

@MadCcc MadCcc left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@MadCcc MadCcc merged commit 71be460 into react-component:master Nov 30, 2023
8 of 9 checks passed
Wxh16144 added a commit to Wxh16144-forks/pagination that referenced this pull request Dec 1, 2023
afc163 pushed a commit that referenced this pull request Dec 1, 2023
* chore: update eslint fix compile error

* fix: fix export TS description

ref: #539 (comment)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants