Support of React testing library with codemirror5

Hi @marijn ,

i have implemented the inline error functionality using codemirror 5 markText API, when i was trying to test it with RTL(React testing library) i was not able to fetch the dom nodes using RTL where the span node are present containing the text. So can we test codemirror 5 with RTL which uses jsdom?