diff --git a/web/src/js/__tests__/components/ContentView/CodeEditorSpec.js b/web/src/js/__tests__/components/ContentView/CodeEditorSpec.js index 2698f13f9..ba7acf07f 100644 --- a/web/src/js/__tests__/components/ContentView/CodeEditorSpec.js +++ b/web/src/js/__tests__/components/ContentView/CodeEditorSpec.js @@ -10,7 +10,11 @@ describe('CodeEditor Component', () => { ), tree = codeEditor.toJSON() + it('should render correctly', () => { + // This actually does not render properly, but getting a full CodeMirror rendering + // is cumbersome. This is hopefully good enough. + // see: https://github.com/mitmproxy/mitmproxy/pull/2365#discussion_r119766850 expect(tree).toMatchSnapshot() })