From 89d639d9fb8b435be5df6173a52b42d193330873 Mon Sep 17 00:00:00 2001 From: Cee Chen <549407+cee-chen@users.noreply.github.com> Date: Fri, 13 Jan 2023 10:34:31 -0800 Subject: [PATCH] [Docs] Fix code snippet (#6526) --- .../views/guidelines/getting_started/getting_started.js | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/src-docs/src/views/guidelines/getting_started/getting_started.js b/src-docs/src/views/guidelines/getting_started/getting_started.js index 1fe80c73a07..26ad3dedc83 100644 --- a/src-docs/src/views/guidelines/getting_started/getting_started.js +++ b/src-docs/src/views/guidelines/getting_started/getting_started.js @@ -234,12 +234,8 @@ import { Timer } from '@elastic/eui/lib/services/time';`} - { - "import { findTestSubject } from '@elastic/eui/lib/test'; // Enzyme" - } - { - "import { findByTestSubject, render, screen } from '@elastic/eui/lib/test/rtl'; // React Testing Library" - } + {`import { findTestSubject } from '@elastic/eui/lib/test'; // Enzyme +import { findByTestSubject, render, screen } from '@elastic/eui/lib/test/rtl'; // React Testing Library`} ),