Skip to content

Add tests for atoms text input and text input icon#73

Merged
brandongregoryscott merged 6 commits into
rsm-hcd:mainfrom
SaidShah:add-tests-for-atoms-text-input-and-text-input-icon
Nov 3, 2020
Merged

Add tests for atoms text input and text input icon#73
brandongregoryscott merged 6 commits into
rsm-hcd:mainfrom
SaidShah:add-tests-for-atoms-text-input-and-text-input-icon

Conversation

@SaidShah
Copy link
Copy Markdown
Contributor

  • Related GitHub issue(s) linked in PR description
  • Destination branch merged, built and tested with your changes
  • Code formatted and follows best practices and patterns
  • Code builds cleanly (no additional warnings or errors)
  • Manually tested
  • Automated tests are passing
  • No decreases in automated test coverage
  • Documentation updated (readme, docs, comments, etc.)
  • Localization: No hard-coded error messages in code files (minimally in string constants)
  • New component and/ or properties? Make sure to update storybook

Closes #9

@codecov
Copy link
Copy Markdown

codecov Bot commented Oct 30, 2020

Codecov Report

Merging #73 into main will increase coverage by 0.77%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##             main      #73      +/-   ##
==========================================
+ Coverage   25.66%   26.44%   +0.77%     
==========================================
  Files          51       51              
  Lines         900      900              
  Branches      209      209              
==========================================
+ Hits          231      238       +7     
+ Misses        662      655       -7     
  Partials        7        7              
Impacted Files Coverage Δ
src/atoms/forms/text-input.tsx 100.00% <ø> (+100.00%) ⬆️
src/atoms/forms/text-input-icon.tsx 100.00% <0.00%> (+100.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 757bd1a...de01f35. Read the comment docs.

<TextInput
testId={dataTestId}
onChange={handleChange}
id={uuid()}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nitpick - alphabetical

<TextInput
testId={dataTestId}
onChange={() => {}}
id={uuid()}
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Nitpick - alphabetical

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Done. Thanks. 😃

@brandongregoryscott brandongregoryscott merged commit b3abb08 into rsm-hcd:main Nov 3, 2020
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.

Backfill tests for Atoms/TextInput and Atoms/TextInputIcon

3 participants