I'm using this component:
<AceEditor
value={data}
className="code-editor"
mode="json"
theme="dracula"
onChange={setData}
name="data"
height="320px"
width="100%"
editorProps={{ $blockScrolling: true }}
showPrintMargin={false}
highlightActiveLine={false}
/>
So, using react-testing-library how can I get this component and fire an onChange event? I tried to find some function like getByComponentName or similar but without success.
onChange