• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

brigand / babel-plugin-flow-react-proptypes / 165
93%

Build:
DEFAULT BRANCH: master
Ran 31 May 2017 04:59AM UTC
Jobs 1
Files 4
Run time 0s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
165

push

travis-ci

brigand
Fix issue #66 (#99)

* Fix issue #66

Any function containing a react component is considered a functional
React component by isFunctionalReactComponent().

This leads to false positives for functions which just use or generate
instances of React components. These factory functions do not
follow the general contract of react components. In particular, the
first argument to the function may not be props.

It is hard to detect these cases in isFunctionalReactComponent. Instead,
we relax the sanity check in getPropsForTypeAnnotation: if a typeAnnotation
exists but does not have the type we expect, we do not fail hard.
We just don't generate proptypes.

* Add missing changelog for 3.1.2

* Add changelog entry for #66

251 of 271 branches covered (92.62%)

Branch coverage included in aggregate %.

2 of 2 new or added lines in 1 file covered. (100.0%)

290 of 307 relevant lines covered (94.46%)

98.98 hits per line

Jobs
ID Job ID Ran Files Coverage
1 165.1 31 May 2017 04:59AM UTC 0
93.6
Travis Job 165.1
Source Files on build 165
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #165
  • 65c24029 on github
  • Prev Build on master (#162)
  • Next Build on master (#166)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc