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 d5e2eac commit 653089aCopy full SHA for 653089a
src/components/form-elements/legend/__tests__/Legend.test.tsx
@@ -44,10 +44,4 @@ describe('Legend', () => {
44
expect(container.querySelector('legend')).toBeNull();
45
});
46
47
- it('renders with HTML', () => {
48
- const { container } = render(<Legend>Text<span>and text within HTML</span></Legend>);
49
-
50
- expect(container.querySelector('legend')?.innerHTML).toMatch('Text<span>and text within HTML</span>')
51
52
- });
53
0 commit comments