Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

I can't find how to set the initialValue property from the reactjs jest test case method #2942

Open
Abhinav3718 opened this issue Oct 19, 2023 · 0 comments

Comments

@Abhinav3718
Copy link

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"
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant