-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Allow customized sorting of test files prior to execution #2968
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
Co-authored-by: Mark Wubben <[email protected]>
Co-authored-by: Mark Wubben <[email protected]>
Sorry @erezrokah I haven't had a chance yet to look into this. |
Let me know if I should look at the failed test. It seems to be failing on the default branch too https://github.com/avajs/ava/runs/5285903957?check_suite_focus=true |
@erezrokah nah, it's probably some transitive dependency that has changed and is causing the tests to fail. It won't be because of your code. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is great, thanks @erezrokah!
Thank you for the review, appreciate the feedback ❤️ |
Fixes #2965
Still in draft to get feedback before adding docs.Added docs.Please note I had to disable a linting rule to allow deserialization of the comparator function.Currently only available via a
ava.config.*
file, however since we treat the function as a string it is possible to add JSON and CLI argument support (though might seem a bit odd).