-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Added more plugin tests #1969
Added more plugin tests #1969
Conversation
Shit, I forgot about this. I resolved the merge conflicts and addressed all review comments. I fixed the usage of I also updated JSDom. JSDom 16 added support for |
I will merge this now because I want to implement update #2640 and this PR will cause conflicts. |
This adds more plugin tests and a new way to create Prism instances inside a JSDOM VM.
It also fixes that Copy to Clipboard did not update the copied text if the text of the code element changed.
This can technically be seen as a fix for #1965.
Also, I just named the tests files
basic-functionality
for lack of a better name. Suggestions for a better pattern are very welcome.