Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[EuiCodeBlock] Improve the Jest testing suite #8180

Closed
weronikaolejniczak opened this issue Nov 22, 2024 · 0 comments · Fixed by #8185
Closed

[EuiCodeBlock] Improve the Jest testing suite #8180

weronikaolejniczak opened this issue Nov 22, 2024 · 0 comments · Fixed by #8185
Assignees

Comments

@weronikaolejniczak
Copy link
Contributor

The purpose of this task is to improve the testing suite of the EuiCodeBlock component.


For context: #8176 (comment)

Reevaluate the Jest tests written for the component. E.g. instead of asserting everything with a snapshot, it might bring more value to use a matcher against the component state and behavior.

packages/eui/src/components/code/code_block.test.tsx

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants