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: add testing-library #415

Merged
merged 5 commits into from
Dec 18, 2023

Conversation

kyoyadmoon
Copy link
Member

@kyoyadmoon kyoyadmoon commented Dec 12, 2023

Purpose

  • Install testing-library in each package
  • upgrade jest
  • Rewrite the test of SearchInput with testing-library since the original one is not working after upgrading jest.

Copy link

codecov bot commented Dec 12, 2023

Codecov Report

Merging #415 (48018d5) into docs/upgrade-storybook-v6-with-webpack5 (2b8318e) will increase coverage by 9.59%.
The diff coverage is n/a.

Additional details and impacted files
@@                             Coverage Diff                             @@
##           docs/upgrade-storybook-v6-with-webpack5     #415      +/-   ##
===========================================================================
+ Coverage                                    88.47%   98.06%   +9.59%     
===========================================================================
  Files                                          152       69      -83     
  Lines                                         1544     1450      -94     
  Branches                                       283      287       +4     
===========================================================================
+ Hits                                          1366     1422      +56     
+ Misses                                         178       28     -150     

see 105 files with indirect coverage changes

@kyoyadmoon kyoyadmoon marked this pull request as ready for review December 13, 2023 09:29
@kyoyadmoon
Copy link
Member Author

@chenesan 後來也更新了 jest 和重寫 SearchInput 的測試,再請你 review 一下 🙇🏼

Copy link

sonarcloud bot commented Dec 16, 2023

Quality Gate Passed Quality Gate passed

Kudos, no new issues were introduced!

0 New issues
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

@leannechen leannechen left a comment

Choose a reason for hiding this comment

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

Base automatically changed from docs/upgrade-storybook-v6-with-webpack5 to project/upgrade-react-v18 December 18, 2023 10:25
@kyoyadmoon kyoyadmoon merged commit 2e0aa8d into project/upgrade-react-v18 Dec 18, 2023
5 checks passed
@kyoyadmoon kyoyadmoon deleted the test/add-testing-library branch December 18, 2023 10:26
@zhusee2 zhusee2 added this to the v7 milestone Feb 2, 2024
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.

4 participants