logsNoPropTypeWarnings top-level property

_PropTypeLogMatcher logsNoPropTypeWarnings
final

Matcher used enforce that there are no propType warnings.

In the case the actual value is a callback that is run, any errors caused by the callback will be caught. Because the console configuration is set to errorConfig, the actual list of logs will include the error message from the caught error.

Related: logsPropTypeWarning, logsPropTypeWarnings

Implementation

final _PropTypeLogMatcher logsNoPropTypeWarnings = _PropTypeLogMatcher(isEmpty);