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

airbnb / enzyme / 4067 / 16
92%
master: 95%

Build:
Build:
LAST BUILD BRANCH: patch-1
DEFAULT BRANCH: master
Ran 15 May 2019 07:20PM UTC
Files 29
Run time 3s
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

15 May 2019 07:07PM UTC coverage: 90.055%. Remained the same
REACT=16.1

Pull #2126

travis-ci

web-flow
[enzyme-adapter-react-helper] Ensure that the correct version of an adapter gets installed

Particularly when only specifying a major version of React to match against. When we pass in something like `16`, we really mean "any React 16 version". Essentially >= 16 and < 17.

To get that behavior, we need to treat our input as a Range, and get its intersection with the value we test against. This is basically where we were prior to https://github.com/airbnb/enzyme/pull/2116, except that pre-release version support has been dropped, which fixes the issue that PR was attempting to fix.
Pull Request #2126: Fix adapter helper regression

1216 of 1403 branches covered (86.67%)

Branch coverage included in aggregate %.

1754 of 1895 relevant lines covered (92.56%)

518.18 hits per line

Source Files on job 4067.16 (REACT=16.1)
  • Tree
  • List 0
  • Changed 2
  • Source Changed 1
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 253
  • Travis Job 4067.16
  • d0ee45ab on github
  • Prev Job for REACT=16.1 on ah-fix-adapter-helper (#4065.15)
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