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(Select): add story for selected value #1507

Merged
merged 1 commit into from
Feb 24, 2023

Conversation

booc0mtaco
Copy link
Contributor

@booc0mtaco booc0mtaco commented Feb 23, 2023

Summary:

  • add a new story for showing a value selected on component load
  • update typing in story file for clarity

This is to ensure the behavior of selected values when using the component, as this was not previously covered in our wrapper

Test Plan:

  • Wrote automated tests
  • CI tests / new tests are not applicable
  • Manually tested my changes, but I want to keep the details secret
  • Manually tested my changes, and here are the details:
    • Create an alpha publish and try out in edu-stack or traject as a sanity check if changes affect build or deploy, or are breaking, such as token changes, widely used component updates, hooks changes, and major dependency upgrades.

- add a new story for showing a value selected on component load
- update typing in story file for clarity
@booc0mtaco booc0mtaco requested a review from a team February 23, 2023 20:56
@github-actions
Copy link

size-limit report 📦

Path Size
components 118.08 KB (0%)
styles 3.1 KB (0%)

@codecov
Copy link

codecov bot commented Feb 23, 2023

Codecov Report

Merging #1507 (8a5e023) into next (efe9330) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##             next    #1507   +/-   ##
=======================================
  Coverage   91.91%   91.91%           
=======================================
  Files         277      277           
  Lines        4178     4180    +2     
  Branches      755      755           
=======================================
+ Hits         3840     3842    +2     
  Misses        313      313           
  Partials       25       25           
Impacted Files Coverage Δ
src/components/Select/Select.stories.tsx 100.00% <100.00%> (ø)

📣 We’re building smart automated test selection to slash your CI/CD build times. Learn more

Copy link
Contributor

@jinlee93 jinlee93 left a comment

Choose a reason for hiding this comment

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

Sweet, thanks for the story

@booc0mtaco booc0mtaco merged commit 9d3e22e into next Feb 24, 2023
@booc0mtaco booc0mtaco deleted the eds-811-add-select-value-story branch February 24, 2023 16:58
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