Skip to content

Commit

Permalink
chore(ffe-form-react): fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tuva-odegard committed May 24, 2024
1 parent bf16135 commit 082bc5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/ffe-form-react/src/RadioButtonInputGroup.spec.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ describe('<RadioButtonInputGroup />', () => {
const { container } = renderRadioButtonInputGroup({
label: 'Test label',
});
const legend = container.querySelector('legend');
const legend = container.querySelector('.ffe-form-label');
expect(legend?.textContent).toBe('Test label');
});
it('does not render a legend if not set', () => {
Expand Down

0 comments on commit 082bc5c

Please sign in to comment.