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

facebook / react / 14098 / 2
86%
master: 86%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2016 08:06PM UTC
Files 230
Run time 12s
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

07 Nov 2016 07:39PM UTC coverage: 88.421% (-0.2%) from 88.581%
TEST_TYPE=test

push

travis-ci

sebmarkbage
[Fiber] Attempt to fix ReactDOMTextComponent test in Fiber (#8146)

* Attempt to fix ReactDOMTextComponent test in Fiber

Obviously, some tests pass but the reconciliation is still incomplete on this in Fiber.

Those changes just ignore reconciliation Comments while asserting (this fixes 2 tests already) but now shows that Fiber lacks some reconciliation features.

* Transmit a parentInstance to commitTextUpdate

This is done in case a Node#normalize() was performed on the parent instance and that the TextInstance got desolidarized from the parent. We provide the parent known by the parent Fiber to reattach the DOM node in this case.

* Added a more complex case around split nodes

This test does not assume one split node substitution alone but also some non-split nodes.

* Fiber supports split text nodes

This is done by suppressing nodes appearing during the split. this is based by comparing against the old value known by the Fiber.

* Simplify siblings cleaning in commitTextUpdate

No need to assert instanceof Text since the length comparator will work correctly.

* Ensure non-text nodes won't be removed

* Fix flow for Fiber Text reconciliation additions

Mostly define types as optionals. Respects the strict DOM API around Node & Element.

* Append at any stack stage only if necessary

The direct parent of the TextNode fiber may not contain the host node. We have to go through the hierarchy. However, since this work may be expensive, we only do it if absolutely necessary!

* Use tag & ReactTypeOfWork to find an HostComponent

* Addfailing scenario when running Node.normalize()

It happens when non-text-elements are added in the mix. @sebmarkbage seems to have an idea on how to fix it. This is just a repro of the bug!

* Register failing/passing fiber tests

8324 of 9414 relevant lines covered (88.42%)

3049.25 hits per line

Source Files on job 14098.2 (TEST_TYPE=test)
  • Tree
  • List 0
  • Changed 46
  • Source Changed 3
  • Coverage Changed 44
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14098
  • Travis Job 14098.2
  • 33325ad0 on github
  • Prev Job for TEST_TYPE=test on master (#14096.2)
  • Next Job for TEST_TYPE=test on master (#14099.2)
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