I can't find how to set the initialValue property from the reactjs jest test case method
Abhinav3718 opened this issue · 0 comments
Abhinav3718 commented
I am trying to unit test whether data is getting loaded into the Editor. It is just building the textarea with no text data in it and visibility is
by default set to hidden. I tried so many ways to load data into it from unit test method, but no luck.
Attached screenshot is the reference for the same when I try to debug, for this particular Editor.
Can anyone help on this please?
The version I am using is, "@tinymce/tinymce-react": "^4.3.0"