facebook/react — pull request #338 by spicyj (2013-09-11 05:47:16+00:00)
Title: Fix ReactRenderDocument tests

I am unsure how this was ever supposed to work, as testDocument is guaranteed to be undefined at that point since beforeEach doesn't run synchronously. (I don't think there's any way to have beforeEach halt the tests, but let me know if you know differently.)

The tests will fail now, but they should be failing because of #337.

/cc @petehunt