Fix typo in commet (#16727)

This commit is contained in:
Heaven
2019-09-10 10:27:38 -07:00
committed by Nicolas Gallagher
parent 4905590e1e
commit 38c03ce006
@@ -431,7 +431,7 @@ describe('ReactHooks', () => {
expect(root).toMatchRenderedOutput('1');
// Update to the same state. React doesn't know if the queue is empty
// because the alterate fiber has pending update priority, so we have to
// because the alternate fiber has pending update priority, so we have to
// enter the render phase before we can bail out. But we bail out before
// rendering the child, and we don't fire any effects.
act(() => setCounter(1));