diff --git a/packages/eui/src/components/modal/modal.test.tsx b/packages/eui/src/components/modal/modal.test.tsx
index 3a79e0f082e..2fe65fb83ba 100644
--- a/packages/eui/src/components/modal/modal.test.tsx
+++ b/packages/eui/src/components/modal/modal.test.tsx
@@ -82,17 +82,15 @@ describe('EuiModal', () => {
});
});
- describe('reading order', () => {
- test('button is placed after header', () => {
- const { getByTestSubject } = render(
- null}>
- Title
- children
-
- );
+ test('button is placed after header', () => {
+ const { getByTestSubject } = render(
+ null}>
+ Title
+ children
+
+ );
- const header = getByTestSubject('header');
- expect(header.nextElementSibling?.tagName).toBe('BUTTON');
- });
+ const header = getByTestSubject('header');
+ expect(header.nextElementSibling?.tagName).toBe('BUTTON');
});
});