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

fix(button): add argTypes type for children props in button #90

Merged
merged 3 commits into from
Oct 5, 2022

Conversation

esraltintas
Copy link
Contributor

@esraltintas esraltintas commented Oct 4, 2022

Pull Request

Description

Screenshot 2022-09-15 at 15 12 51

Even we pass “children“ prop in our screenshot tests, all screenshots are using default parameter what we set in component stories

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!

@esraltintas esraltintas self-assigned this Oct 4, 2022
@esraltintas esraltintas changed the title Feat/hey UI 168 screenshot updates fix(button): add argTypes type for children props in button Oct 4, 2022
@coveralls
Copy link

coveralls commented Oct 4, 2022

Pull Request Test Coverage Report for Build 3189296495

  • 0 of 0 changed or added relevant lines in 0 files are covered.
  • No unchanged relevant lines lost coverage.
  • Overall coverage remained the same at 98.689%

Totals Coverage Status
Change from base Build 3182963275: 0.0%
Covered Lines: 770
Relevant Lines: 772

💛 - Coveralls

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Coverage report

St.
Category Percentage Covered / Total
🟢 Statements 99.64% 833/836
🟢 Branches 93.01% 133/143
🟢 Functions 97.67% 42/43
🟢 Lines 99.74% 770/772

Test suite run success

202 tests passing in 28 suites.

Report generated by 🧪jest coverage report action from ea6f333

@github-actions
Copy link

github-actions bot commented Oct 4, 2022

Compiled a new version demo.

Add argTypes type for children props in button
Add argTypes type for children props in chip
@esraltintas esraltintas force-pushed the feat/HEYUI-168-screenshot-updates branch from 14d2de7 to f62856b Compare October 5, 2022 10:47
@github-actions
Copy link

github-actions bot commented Oct 5, 2022

Compiled a new version demo.

add argTypes type for children props in chip
@github-actions
Copy link

github-actions bot commented Oct 5, 2022

Compiled a new version demo.

@esraltintas esraltintas merged commit a5a5d45 into main Oct 5, 2022
@esraltintas esraltintas deleted the feat/HEYUI-168-screenshot-updates branch October 5, 2022 11:21
derek-heycar pushed a commit that referenced this pull request Oct 5, 2022
## [2.0.1](v2.0.0...v2.0.1) (2022-10-05)

### Bug Fixes

* **button:** add argTypes type for children props in button ([#90](#90)) ([a5a5d45](a5a5d45))
@derek-heycar
Copy link
Contributor

🎉 This PR is included in version 2.0.1 🎉

The release is available on:

Your semantic-release bot 📦🚀

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.

5 participants