Skip to content

Commit

Permalink
update unreleased
Browse files Browse the repository at this point in the history
  • Loading branch information
emma-boardman committed Mar 3, 2021
1 parent 2af9a04 commit cc4bf2a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 2 additions & 0 deletions UNRELEASED.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ Use [the changelog guidelines](https://git.io/polaris-changelog-guidelines) to f

### Enhancements

- Added `customAccessibilityLabel` prop to `Badge` ([#4028](https://github.com/Shopify/polaris-react/pull/4028))

### Bug fixes

- Ensured `@charset` declaration is the first thing in our styles.css file ([#4019](https://github.com/Shopify/polaris-react/pull/4019))
Expand Down
3 changes: 0 additions & 3 deletions src/components/Badge/tests/Badge.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,6 @@ describe('<Badge />', () => {
expect(badge).toContainReactComponent(VisuallyHidden, {
children: mockAccessibilityLabel,
});
expect(badge).not.toContainReactComponent(VisuallyHidden, {
children: 'Attention Incomplete',
});
});

it('does not render progress or status accessibility labels when a `customAccessibilityLabel` is provided', () => {
Expand Down

0 comments on commit cc4bf2a

Please sign in to comment.