-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Better test prefixes #379
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
Better test prefixes #379
Conversation
@ariporad Could you describe what this PR improves/fixes and provide an example of before/after output? |
@vdemedes: on mobile atm, but I'll post a screenshot when I get back. Basically, it properly displayes subdirectories with the default reporter. |
@@ -195,7 +192,7 @@ function handlePaths(files) { | |||
files = [ | |||
'test.js', | |||
'test-*.js', | |||
'test/*.js' | |||
'test' |
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 should be in the other PR.
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.
I'll fix that.
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.
@sindresorhus: Fixed.
@vdemedes: I uploaded some screenshots. |
04283ac
to
c56ed9e
Compare
Great, thanks! |
LGTM |
@vdemedes: Everything else look good about this PR? |
@sindresorhus: Sorry if this is stupid, but why isn't there a |
@sindresorhus: Ok, thanks. |
@sindresorhus: I'm going to merge this, is that OK? |
OK @sindresorhus, This is half of #373, and half of the fixes #370. I think the git history is pretty clean, but let me know if there's anything I should fix.
Before:



After:
Files: