AndersDJohnson/jest-snapshots

Default no props for call with component

AndersDJohnson opened this issue · 0 comments

If we call with no 2nd argument but with a component function rather than an array or string (for path for react-fake-props), then we should just use a default of [{}] to render without any props.