facebook/react — pull request #1540 by spicyj (2014-05-16 00:20:48+00:00)
Title: Add failing test for Dispatcher.waitFor

I believe this should pass with a bug-free dispatcher, though the async behavior is a little unclear to me.

cc @fisherwebdev