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

feat(slider): slider plus unit tests #216

Merged
merged 6 commits into from
Jun 8, 2023
Merged

feat(slider): slider plus unit tests #216

merged 6 commits into from
Jun 8, 2023

Conversation

nathanjamal
Copy link
Collaborator

Pull Request

Description

working slider with unit tests

HEYUI-354

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Documentation change

How do I test this

  • Add steps to test
  • in bullet point format
  • preferably you can add link to the storybook build in the PR

Checklist

Did you remember to take care of the following?

  • npm i – for new NPM dependencies.
  • npm run lint - to check for linting issues
  • npm run test - to run unit tests
  • npm run test:sh:docker - to run screenshot tests, detail instruction

New Feature / Bug Fix

  • Run unit tests to ensure all existing tests are still passing.
  • Add new passing unit tests to cover the code introduced by your pr.

Thanks for contributing!

@auto-assign auto-assign bot requested a review from esraltintas June 6, 2023 13:29
@nathanjamal nathanjamal self-assigned this Jun 6, 2023
@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Pull Request Test Coverage Report for Build 5198764090

  • 27 of 28 (96.43%) changed or added relevant lines in 2 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage decreased (-0.1%) to 92.207%

Changes Missing Coverage Covered Lines Changed/Added Lines %
packages/slider/src/Slider.tsx 25 26 96.15%
Totals Coverage Status
Change from base Build 5189134892: -0.1%
Covered Lines: 1666
Relevant Lines: 1730

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 96.08% 1864/1940
🟢 Branches 81.21% 523/644
🟢 Functions 82.47% 160/194
🟢 Lines 96.3% 1666/1730
Show new covered files 🐣
St.
File Statements Branches Functions Lines
🟢
... / Slider.tsx
96.43% 61.54% 100% 96.15%
🟢
... / Slider.constants.ts
100% 100% 100% 100%

Test suite run success

401 tests passing in 56 suites.

Report generated by 🧪jest coverage report action from 702acb9

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Compiled a new version demo.

@@ -5,6 +5,7 @@ module.exports = {
'prettier',
'airbnb/hooks',
'plugin:@typescript-eslint/recommended',
'plugin:mdx/recommended',
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

Added better linting for mdx files

@@ -125,6 +127,7 @@
"eslint-plugin-cypress": "2.12.1",
"eslint-plugin-import": "2.25.4",
"eslint-plugin-jsx-a11y": "^6.3.1",
"eslint-plugin-mdx": "^2.1.0",
Copy link
Collaborator Author

Choose a reason for hiding this comment

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

better linting for mdx files

@github-actions
Copy link

github-actions bot commented Jun 6, 2023

Compiled a new version demo.

@github-actions
Copy link

github-actions bot commented Jun 7, 2023

Compiled a new version demo.

@nathanjamal nathanjamal merged commit 4417cdc into main Jun 8, 2023
@nathanjamal nathanjamal deleted the HEYUI-354 branch June 8, 2023 14:46
supcar pushed a commit that referenced this pull request Jun 8, 2023
# [8.7.0](v8.6.1...v8.7.0) (2023-06-08)

### Features

* **slider:** slider plus unit tests  ([#216](#216)) ([4417cdc](4417cdc))
@supcar
Copy link
Collaborator

supcar commented Jun 8, 2023

🎉 This PR is included in version 8.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

@supcar supcar added the released label Jun 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants