Skip to content

Commit

Permalink
Revert unintentional migration in test file
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer committed Oct 17, 2024
1 parent ac39e6d commit 90e3955
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/circuit-ui/components/Body/Body.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@ describe('Body', () => {
});

it('should render the "highlight" variant as a "strong" element', () => {
const { container } = render(<Body weight="bold">Highlight</Body>);
// eslint-disable-next-line @sumup-oss/circuit-ui/no-deprecated-props, @sumup-oss/circuit-ui/no-renamed-props
const { container } = render(<Body variant="highlight">Highlight</Body>);
const actual = container.querySelector('strong');
expect(actual).toBeVisible();
});
Expand Down

0 comments on commit 90e3955

Please sign in to comment.