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
Count files under spec/
as test files
#7730
base: master
Are you sure you want to change the base?
Conversation
Hey unfortunately we can't take this patch as implemented—we'll probably have to make a command line for this, which makes it into a bit of a larger change (because the place where Stripe's codebase has about 50 files inside If we can make what counts as a test configurable per project I'd be happy to review it. |
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.
^
@jez understandable. Would you be okay with using a separate flag for this or doing the check inline in I think this use case is common enough that it's better to support inside Sorbet rather than individual project configurations. |
I don't quite know what you mean by saying both
and also
Could you clarify what you're suggesting? |
I pushed 2 commits to show the different solutions. I thought you meant this PR is an issue due to |
Is this acceptable given this code path is used for more than highlight T.untyped feature?
Motivation
Rspec style tests put tests under the
spec
folder which is currently not supported foreverywhere-but-tests
option forhighlightUntyped
feature.Test plan
I couldn't find tests for this file.