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

Tests: Added .html.test files for replace .js language tests #3148

Merged
merged 12 commits into from Oct 19, 2021

Conversation

RunDevelopment
Copy link
Member

This is a branch of #3147 and adds support for HTML .test files called .html.test. It is just an extension of the current test format.

The expected HTML code is formatted using Prettier (good-looking and readable format) and can be inserted automatically using the --update flag (just like for all other .test files). This makes it super easy to add and update .html.test files.

Support for .js language tests has been removed since they are no longer necessary. .html.test files have the same functionality and are easier to use.

@github-actions
Copy link

github-actions bot commented Oct 10, 2021

No JS Changes

Generated by 🚫 dangerJS against ca0cb4e

Copy link
Collaborator

@JaKXz JaKXz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@RunDevelopment RunDevelopment merged commit 2e834c8 into PrismJS:master Oct 19, 2021
@RunDevelopment RunDevelopment deleted the html-test branch October 19, 2021 12:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants