CodeEditor - testing is needed for interactions with React Dropzone and the Monaco Editor
As mentioned in #7450 the Code Editor is lacking in test coverage based on our newly determined testing guidelines.
I anticipate the most difficult part of this issue will likely be determining how we should test certain aspects surrounding the Monaco Editor and React Dropzone libraries that we use.
Monaco seems to do something that makes entering text in its editor difficult using RTL, and React Dropzone has functions (such as its open function) which I'm not sure how would be best to test.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Monaco mock from ACM: https://github.com/stolostron/console/blob/main/frontend/mocks/react-monaco-editor.tsx Where it's used: https://github.com/stolostron/console/blob/main/frontend/src/components/SyncEditor/SyncEditor.test.tsx