Skip to content

Commit

Permalink
Merge pull request #6959 from Sage/FE-6785-radio-button-mapper-rtl
Browse files Browse the repository at this point in the history
refactor(radio-button-mapper): convert enzyme tests to RTL
  • Loading branch information
nuria1110 committed Sep 17, 2024
2 parents 51d050e + 2593af7 commit d1c012e
Show file tree
Hide file tree
Showing 3 changed files with 163 additions and 321 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,6 @@ const RadioButtonMapper = ({
const onChangeProp = useCallback(
(event) => {
onChange?.(event);
/* istanbul ignore else */
if (!isControlled) {
setCheckedValue(event.target.value);
}
Expand Down
320 changes: 0 additions & 320 deletions src/__internal__/radio-button-mapper/radio-button-mapper.spec.tsx

This file was deleted.

Loading

0 comments on commit d1c012e

Please sign in to comment.