We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0ae7a2d commit 2f9e07aCopy full SHA for 2f9e07a
polaris-react/src/components/Badge/tests/Badge.test.tsx
@@ -14,7 +14,7 @@ describe('<Badge />', () => {
14
15
it('accepts a status prop and renders a visually hidden label', () => {
16
const badge = mountWithApp(<Badge status="success" />);
17
- expect(badge).toContainReactComponent(Text), {visuallyHidden: true};
+ expect(badge).toContainReactComponent(Text, {visuallyHidden: true});
18
});
19
20
it('accepts a progress prop and renders a visually hidden label', () => {
0 commit comments