Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
With nested folders for your code, it is sometimes nice to make your test files be along the production code, fx.
lab -P src/**/*-test.js
Is it on the roadmap?
Looking at cli.js:329-331 it might not be super easy to implement. I would also be happy with just matching filename (without extension), like so:
lab -P *-test src # Running in src/ directory and looking for files named *-test.js
This way the extension overwrite system can be kept. I think it would be a minor change.