code: function renderWithIntl (node, { context, childContextTypes } = {}) {
      const intlProvider = new IntlProvider({locale: locale, messages }, {});
      const { intl } = intlProvider.getChildContext();
      return render(React.cloneElement(node, { intl }), {
          context: Object.assign({}, context, {intl}),
          childContextTypes: Object.assign({}, { intl: intlShape }, childContextTypes)
      });
  }
docs: Equivalent to enzyme's 'render' method.
  @param {string} node React Component that requires react-intl.
  @return {object}