Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[1.x][Test] Fix console warning in field_editor.test.tsx
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: opensearch-project#673 Backport PR: opensearch-project#674 Signed-off-by: Anan Zhuang <[email protected]>
- Loading branch information