Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Test] Fix console warning in field_editor.test.tsx (#674)
Currently, unit test field_editor.test.tsx shows a console warning: ```React.createElement: type is invalid -- expected a string (for built-in components) or a class/function (for composite components) but got: undefined. ``` This warning is because EuiCodeEditor is missing in the mock of elastic/eui, which causes undefined EuiCodeEditor in the test. PR Resolved: #673 Signed-off-by: Anan Zhuang <[email protected]>
- Loading branch information