From fde14953fe64b755f1f4170409c8b24a686bc4aa Mon Sep 17 00:00:00 2001 From: Constance Chen Date: Fri, 13 Jan 2023 09:49:59 -0800 Subject: [PATCH] [Docs] Fix code snippet --- .../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`} ),