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

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

Build:
DEFAULT BRANCH: master
Ran 29 Nov 2016 02:36AM UTC
Files 239
Run time 21s
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

28 Nov 2016 11:44PM UTC coverage: 83.199% (-0.5%) from 83.682%
TEST_TYPE=test

push

travis-ci

web-flow
[Fiber] Support iterables (#8446)

* Add iterable cases to MultiChildReconcile test

Stack currently supports rendering iterables, but Fiber does not.

Previously we didn't have any public API tests for iterables. We have tests for traverseAllChildren() which is shared between React.Children and Stack. However Fiber doesn't currently use it, and likely won't. So this commit is a first step towards actually testing iterable support via public API. The next step will be to port traverseAllChildren() tests to test React.Children API instead.

* Implement iterable reconciliation in Fiber

This uses the same exact algorithm as array reconciliation but uses iterator to step through.

This gets reconcile tests to pass again but introduces a regression in ReactMultiChildText case which uses Maps as children. It passed before because Maps were ignored, but now it's failing because this actually runs the Map code path in Fiber. We can throw early in this case when we want to follow up on this.

* Rewrite traverseAllChildren() tests against React.Children API

This function was used in React.Children and Stack.

The corresponding reconciliation functionality is being tested by ReactMultiChild tests.

So we can move these tests to ReactChildren and test its public API.

8354 of 10041 relevant lines covered (83.2%)

2485.87 hits per line

Source Files on job 14602.2 (TEST_TYPE=test)
  • Tree
  • List 0
  • Changed 148
  • Source Changed 2
  • Coverage Changed 148
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Build 14602
  • Travis Job 14602.2
  • c7403458 on github
  • Prev Job for TEST_TYPE=test on master (#14598.2)
  • Next Job for TEST_TYPE=test on master (#14607.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