reactComponentExpect expects itself

This was a bug when reactComponentExpectInternal was separated from
the normal reactComponentExpect flow.
Merge pull request #2596 from sebmarkbage/rce

reactComponentExpect expects itself