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 case for Collapse #90

Merged
merged 1 commit into from
May 31, 2021
Merged

🧪 Test case for Collapse #90

merged 1 commit into from
May 31, 2021

Conversation

prateekshourya29
Copy link
Contributor

PR Details

Description

Add test case for the collapse component.

Related Issue

#39

Motivation and Context

For 100% test coverage.

How Has This Been Tested

Tested using jest with the help of react testing library.

Types of changes

  • Docs change / refactoring / dependency upgrade
  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • My code follows the code style of this project.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have read the CONTRIBUTING document.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@codecov
Copy link

codecov bot commented May 29, 2021

Codecov Report

Merging #90 (e4c8fa9) into master (82e931d) will increase coverage by 0.92%.
The diff coverage is 100.00%.

❗ Current head e4c8fa9 differs from pull request most recent head fdff790. Consider uploading reports for the commit fdff790 to get more accurate results
Impacted file tree graph

@@            Coverage Diff             @@
##           master      #90      +/-   ##
==========================================
+ Coverage   74.61%   75.54%   +0.92%     
==========================================
  Files         140      140              
  Lines        2167     2167              
  Branches      530      530              
==========================================
+ Hits         1617     1637      +20     
+ Misses        545      526      -19     
+ Partials        5        4       -1     
Impacted Files Coverage Δ
src/components/List/style.ts 100.00% <ø> (ø)
src/components/List/List.tsx 100.00% <100.00%> (+24.13%) ⬆️
src/components/List/ListItem.tsx 100.00% <0.00%> (+7.14%) ⬆️
src/components/Collapse/Collapse.tsx 100.00% <0.00%> (+28.57%) ⬆️
src/components/List/CollapsibleList.tsx 100.00% <0.00%> (+60.00%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 82e931d...fdff790. Read the comment docs.

@anitnilay20 anitnilay20 merged commit e7175be into master May 31, 2021
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.

2 participants