Skip to content

Commit

Permalink
Merge pull request #6927 from Sage/FE-6604-inlineinputs-rtl
Browse files Browse the repository at this point in the history
refactor(inline-inputs): convert enzyme tests to RTL
  • Loading branch information
nuria1110 authored Sep 4, 2024
2 parents 94eb465 + ce95b90 commit 1060d20
Show file tree
Hide file tree
Showing 4 changed files with 135 additions and 372 deletions.
4 changes: 3 additions & 1 deletion src/components/inline-inputs/inline-inputs.component.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export interface InlineInputsProps
labelAlign?: "left" | "right";
/**
* Custom label id, could be used in combination with aria-labelledby prop of each input,
* to make them accesible for screen readers.
* to make them accessible for screen readers.
*/
labelId?: string;
/** Flag to configure component as mandatory. */
Expand Down Expand Up @@ -113,6 +113,7 @@ const InlineInputs = ({
<StyledInlineInputs
gutter={gutter}
data-component="inline-inputs"
data-role="inline-inputs"
className={className}
labelWidth={labelWidth}
labelInline={inlineLabel}
Expand All @@ -123,6 +124,7 @@ const InlineInputs = ({
<StyledContentContainer
gutter={gutter}
data-element="inline-inputs-container"
data-role="inline-inputs-container"
inputWidth={inputWidth}
>
<FormSpacingProvider marginBottom={undefined}>
Expand Down
370 changes: 0 additions & 370 deletions src/components/inline-inputs/inline-inputs.spec.tsx

This file was deleted.

Loading

0 comments on commit 1060d20

Please sign in to comment.