Check `ReactChildren.{map, forEach}` callback argument

Fixes #1755

/cc @spicyj
I believe we normally try to require everything except `mocks` inside the `beforeEach`, but perhaps @zpao can shed more light.