Skip to content

Commit

Permalink
Add tests for scheduling inside callbacks
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon committed Nov 2, 2016
1 parent 2b26ea6 commit 2006090
Show file tree
Hide file tree
Showing 2 changed files with 461 additions and 0 deletions.
12 changes: 12 additions & 0 deletions scripts/fiber/tests-passing.txt
Original file line number Diff line number Diff line change
Expand Up @@ -816,6 +816,18 @@ src/renderers/shared/fiber/__tests__/ReactIncrementalScheduling-test.js
* splits deferred work on multiple roots
* works on deferred roots in the order they were scheduled
* handles interleaved deferred and animation work
* performs animation work in animation callback
* schedules deferred work in animation callback
* schedules deferred work and performs animation work in animation callback
* performs animation work and schedules deferred work in animation callback
* performs deferred work in deferred callback if it has time
* schedules deferred work in deferred callback if it runs out of time
* performs animated work in deferred callback if it has time
* performs animated work and deferred work in deferred callback if it has time
* performs deferred and animated work work in deferred callback if it has time
* FIXME: schedules animated work as if it was deferred in deferred callback if it runs out of time
* schedules animated work and deferred work in deferred callback if it runs out of time
* schedules deferred work and animated work in deferred callback if it runs out of time

src/renderers/shared/fiber/__tests__/ReactIncrementalSideEffects-test.js
* can update child nodes of a host instance
Expand Down

0 comments on commit 2006090

Please sign in to comment.