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 config #1034

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Tests config #1034

wants to merge 4 commits into from

Conversation

Janther
Copy link
Contributor

@Janther Janther commented Aug 16, 2024

As Prettier has been improving their testing suite prettier/prettier#14444, we have been following and adapting our test files to match theirs.

is this PR the following changes can be seen:

  • jsmt.spec.js files were renamed to format.test.js
  • the modifier /u has been added to al regexes
  • the test config files use trailing commas since that is what we can see when we review prettier`s source code
  • run_spec was renamed to runFormatTest
  • format-test.js was renamed to run-format-test.js
  • loading prettier while not in STANDALONE can be done directly instead of using a loading file.

@Janther Janther requested a review from fvictorio August 16, 2024 12:21
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

Successfully merging this pull request may close these issues.

1 participant