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

[EuiCode][EuiCodeBlock] Reinstate testenv mocks #5464

Merged
merged 3 commits into from
Dec 13, 2021

Conversation

thompsongl
Copy link
Contributor

@thompsongl thompsongl commented Dec 13, 2021

Summary

testenv mocking was mistakenly removed when moving away from the shared EuiCodeBlockImpl component.
Previous mock file for reference: _code_block.testenv.tsx
Adds a new file for each component and adds a data-code-language attribute for debugging.

Checklist

  • A changelog entry exists and is marked appropriately

@kibanamachine
Copy link

Preview documentation changes for this PR: https://eui.elastic.co/pr_5464/

Copy link
Contributor

@chandlerprall chandlerprall left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@thompsongl thompsongl merged commit 42f41f7 into elastic:main Dec 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants