Skip to content

Conversation

bspaulding
Copy link
Contributor

This stops the split-platform-components from complaining when you import a platform specific component in a platform specific test file: .ios.test.js.

@coveralls
Copy link

coveralls commented Jun 7, 2017

Coverage Status

Coverage remained the same at 71.783% when pulling 29eeff3 on bspaulding:test-ext-support into b6fd6be on Intellicode:master.

@Intellicode
Copy link
Owner

Hi @bspaulding,

Thanks for your PR! I think it would be nice to add functionality like this, but the currently there are several conventions people use for naming their test files. Are you open to make it configurable?

@bspaulding
Copy link
Contributor Author

Sure, was just following the jest defaults to make it simple. How might this work? Should we just expose the regex directly as an rule option?

@bspaulding
Copy link
Contributor Author

bspaulding commented Jun 12, 2017

Did up a quick version of what this might be. I'd love to also make the jest default valid ootb, but I understand if you'd rather not.

@coveralls
Copy link

coveralls commented Jun 12, 2017

Coverage Status

Coverage increased (+0.1%) to 71.91% when pulling 069aa0b on bspaulding:test-ext-support into b6fd6be on Intellicode:master.

@Intellicode
Copy link
Owner

Nice! I think that will work

@Intellicode Intellicode merged commit e78570f into Intellicode:master Jun 12, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants