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

Big test data set in eslint plugin cause hard to debug tests #255

Closed
1 of 2 tasks
BioPhoton opened this issue Nov 14, 2023 · 0 comments
Closed
1 of 2 tasks

Big test data set in eslint plugin cause hard to debug tests #255

BioPhoton opened this issue Nov 14, 2023 · 0 comments

Comments

@BioPhoton
Copy link
Collaborator

BioPhoton commented Nov 14, 2023

The tests already maintain ready folder structure and eslint rules. To make the tests more stable and easier to test I suggest:

  • reduce the data set to the minimum (number of used eslint rulse is 69 ATM which is not needed to test the functionality)
  • prefer to use expect.objectContains etc instead of snapshots to reduce tracked files and a more maintainable test
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants