message: [dev] remove annoying logs around proptypes and createClass from RN codebase
diff: +const originalConsoleError = console.error
  +
  +// Remove on the next React-Native update.
  +console.error = (message?: any, ...optionalParams: any[]) => {
  + if (
  + typeof message === "string" &&
  + (message.includes("PropTypes has been moved to a separate package.") ||
  + message.includes("React.createClass is no longer supported."))
  + ) {
  + // NOOP
  + } else {
  + originalConsoleError(message)
  + }
  +}
  +
  function mockedModule(path: string, moduleName: string) {
  jest.mock(path, () => ({ default: moduleName }))
  }
  