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

facebook / react / 14079
86%

Build:
DEFAULT BRANCH: master
Ran 05 Nov 2016 06:26PM UTC
Jobs 1
Files 230
Run time 11s
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
14079

push

travis-ci

sebmarkbage
[Fiber] Complete ES6 Class related errors support (#8156)

* Print a warning in fiber for lacking render method

* Reject initial non-object state in Fiber

Rejects Arrays, Strings & Numbers. Allows nulls.

* Centralize fiber checks on ES6 Classes

* Add classic & instance property checks on fiber

- check the absence of getInitialState & getDefaultProps as methods
- check the absence of propTypes & contextTypes at instance-level

* Convert to normalized React `warning` calls

* Support lifecycle typo detection in fiber

* Get the complete warnings from the existing code

* Only check classInstance once

Avoid rechecking while resuming

* Can warn component while resuming but only once

This is achieved by tracking the warning state in the Fiber structure.

* Remove warning deduplication

* Factor name retrieval in a getName helper

* Use invariant instead of throw

* Read inst.state only once for the invariant

* Fix condition on the instance state

* Register failing/passing fiber tests

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

8306 of 9385 relevant lines covered (88.5%)

3077.91 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
100.0
src/renderers/shared/fiber/ReactFiberClassComponent.js
Jobs
ID Job ID Ran Files Coverage
2 14079.2 (TEST_TYPE=test) 05 Nov 2016 06:25PM UTC 0
88.5
Travis Job 14079.2
Source Files on build 14079
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #14079
  • ba6b53af on github
  • Prev Build on master (#14078)
  • Next Build on master (#14080)
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