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 cases for FlexTable #98

Merged
merged 2 commits into from
Jun 13, 2021
Merged

🧪 Test cases for FlexTable #98

merged 2 commits into from
Jun 13, 2021

Conversation

prateekshourya29
Copy link
Contributor

@prateekshourya29 prateekshourya29 commented Jun 9, 2021

PR Details

Description

  • Add test case for FlexTable.
  • Add className of some components.

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 Jun 9, 2021

Codecov Report

Merging #98 (9b37a70) into master (63a90b3) will increase coverage by 2.71%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #98      +/-   ##
==========================================
+ Coverage   84.23%   86.95%   +2.71%     
==========================================
  Files         140      139       -1     
  Lines        2176     2146      -30     
  Branches      535      529       -6     
==========================================
+ Hits         1833     1866      +33     
+ Misses        341      279      -62     
+ Partials        2        1       -1     
Impacted Files Coverage Δ
src/components/FlexTable/FlexTable.tsx 100.00% <ø> (ø)
src/components/FlexTable/index.ts 100.00% <ø> (ø)
src/components/FlexTable/style.ts 100.00% <ø> (ø)
src/index.ts 100.00% <100.00%> (ø)
src/components/Grid/Row.tsx 100.00% <0.00%> (+6.25%) ⬆️
src/components/Pagination/Pagination.tsx 100.00% <0.00%> (+58.82%) ⬆️

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 63a90b3...9b37a70. Read the comment docs.

@anitnilay20 anitnilay20 merged commit a2402ca into master Jun 13, 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