mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-25 18:03:50 +00:00
explain codemirror rendering shortcomins
This commit is contained in:
parent
950810accb
commit
465178323f
@ -10,7 +10,11 @@ describe('CodeEditor Component', () => {
|
||||
<CodeEditor content={content} onChange={changeFn}/>
|
||||
),
|
||||
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()
|
||||
})
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user