diff --git a/src/components/form/range/range.test.tsx b/src/components/form/range/range.test.tsx
index 62425bf4cf4..6fce5140241 100644
--- a/src/components/form/range/range.test.tsx
+++ b/src/components/form/range/range.test.tsx
@@ -272,12 +272,22 @@ describe('EuiRange', () => {
/>
);
- expect(getByRole('slider')).toHaveAttribute('aria-valuetext', '20, (20kb)');
+ expect(getByRole('slider')).toHaveAttribute(
+ 'aria-valuetext',
+ '20, (20kb)'
+ );
});
it('should not exist when the current value does not have a matching label', () => {
const { getByRole } = render(
-
+
);
expect(getByRole('slider')).not.toHaveAttribute('aria-valuetext');