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 --insert and --update #2809

Merged

Conversation

RunDevelopment
Copy link
Member

This adds a new --update parameter to npm run test:languages and renames --accept to --insert (the old --accept is still supported tho).

This should make it easier to write and update tests. Now people that change a language only have to run npm run test:languages -- --update to make the language tests pass.

@github-actions
Copy link

github-actions bot commented Mar 17, 2021

No JS Changes

Generated by 🚫 dangerJS against 35a3315

@RunDevelopment RunDevelopment merged commit 4c8b855 into PrismJS:master Apr 3, 2021
@RunDevelopment RunDevelopment deleted the test-suite-insert-and-update branch April 3, 2021 09:06
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.

1 participant