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

helpscout / react-utils / 23
100%

Build:
DEFAULT BRANCH: master
Ran 21 Sep 2018 01:45PM UTC
Jobs 1
Files 19
Run time 1s
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
23

push

travis-ci

web-flow
getValidProps: Improve filtering (#5)

This update improve the prop filtering for `getValidProps` and `isPropValid`.
It uses the REGEX based algorithm borrowed from `styled-components`.

Previously, this function was using the `is-prop-valid` util from `Emotion`.
It worked, for the most part. However, it did not filter out custom props that
were named similarly to default React props, mainly things beginning with `on`.

Props like `onOpen` or `onDidClose` would be let through.

68 of 68 branches covered (100.0%)

Branch coverage included in aggregate %.

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

60 of 60 relevant lines covered (100.0%)

18.15 hits per line

Jobs
ID Job ID Ran Files Coverage
1 23.1 21 Sep 2018 01:45PM UTC 0
100.0
Travis Job 23.1
Source Files on build 23
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #23
  • 7d738008 on github
  • Prev Build on master (#21)
  • Next Build on master (#67)
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

© 2025 Coveralls, Inc