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 Layout #93

Merged
merged 3 commits into from
Jun 3, 2021
Merged

🧪 Test cases for Layout #93

merged 3 commits into from
Jun 3, 2021

Conversation

prateekshourya29
Copy link
Contributor

PR Details

Description

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

Related Issue

#39

Motivation and Context

For 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.

* Add className of some components.
@codecov
Copy link

codecov bot commented Jun 2, 2021

Codecov Report

Merging #93 (498690b) into master (34c0b38) will increase coverage by 3.47%.
The diff coverage is 100.00%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master      #93      +/-   ##
==========================================
+ Coverage   80.76%   84.23%   +3.47%     
==========================================
  Files         140      140              
  Lines        2178     2176       -2     
  Branches      535      535              
==========================================
+ Hits         1759     1833      +74     
+ Misses        417      341      -76     
  Partials        2        2              
Impacted Files Coverage Δ
src/components/Layout/Container.tsx 100.00% <100.00%> (+46.15%) ⬆️
src/components/Layout/SidePanel.tsx 100.00% <100.00%> (+77.58%) ⬆️
src/helpers/style.ts 100.00% <0.00%> (+12.50%) ⬆️
src/components/Menu/Menu.tsx 85.00% <0.00%> (+15.00%) ⬆️
src/components/Layout/Content.tsx 100.00% <0.00%> (+37.50%) ⬆️
src/components/Layout/style.ts 100.00% <0.00%> (+40.00%) ⬆️
src/components/Tabs/TabPanelContainer.tsx 95.00% <0.00%> (+65.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 34c0b38...498690b. Read the comment docs.

@anitnilay20 anitnilay20 merged commit 63a90b3 into master Jun 3, 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