Skip to content

Commit

Permalink
[Docs] Fix code snippet (#6526)
Browse files Browse the repository at this point in the history
  • Loading branch information
cee-chen authored Jan 13, 2023
1 parent 80a4cc2 commit 89d639d
Showing 1 changed file with 2 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -234,12 +234,8 @@ import { Timer } from '@elastic/eui/lib/services/time';`}
</EuiText>
<EuiSpacer />
<EuiCodeBlock language="jsx" isCopyable fontSize="m">
{
"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`}
</EuiCodeBlock>
</>
),
Expand Down

0 comments on commit 89d639d

Please sign in to comment.