avajs / ava

Node.js test runner that lets you develop with confidence 🚀
MIT License
20.74k stars 1.41k forks source link

feature: allow custom comparator for parallelRuns #2965

Closed erezrokah closed 2 years ago

erezrokah commented 2 years ago

Please provide details about:

Alternatives: Ensure number of tests per file is low enough via a lint rule.

More context: https://github.com/netlify/cli/issues/4178

novemberborn commented 2 years ago

What would you think about being able to configure the comparator function in an ava.config.js file?

erezrokah commented 2 years ago

What would you think about being able to configure the comparator function in an ava.config.js file?

That would be great and will solve our use case 💯

Are you open for me to contribute this change or prefer someone else to do it?

novemberborn commented 2 years ago

All yours @erezrokah! Let me know if you have questions.