You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add setMediaWidth breakpoints test utility (#7348)
### WHY are these changes introduced?
#7345 Refactors the `AccountConnection` component to use the new layout
primitives including `AlphaCard`.
`AlphaCard` uses `useBreakpoints()` which required setting up a mock to
set media width for the tests. It appears setting the media width in the
tests becomes necessary for any parent components using a component that
uses `useBreakpoints()`.
### WHAT is this pull request doing?
This adds a `setMediaWidth` test utility which can be used in tests for
any components that require mocked media widths in their tests.
Co-authored-by: Aaron Casanova <[email protected]>
0 commit comments