Prepare React imports for Jest
Summary: Not sure if it's Metro or something else providing these globally, but it makes Jest unhappy if they're missing. Reviewed By: danielbuechele Differential Revision: D9788350 fbshipit-source-id: 5fabad7af146bcb705471d2c7e66d79265c81c82
This commit is contained in:
committed by
Facebook Github Bot
parent
38bcb75d9b
commit
20748876a9
@@ -5,13 +5,14 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import * as React from 'react';
|
||||
import Glyph from './Glyph.js';
|
||||
import styled from '../styled/index.js';
|
||||
import {findDOMNode} from 'react-dom';
|
||||
import PropTypes from 'prop-types';
|
||||
import electron from 'electron';
|
||||
import styled from '../styled/index.js';
|
||||
import {colors} from './colors.js';
|
||||
import {connect} from 'react-redux';
|
||||
import electron from 'electron';
|
||||
import {findDOMNode} from 'react-dom';
|
||||
import {keyframes} from 'react-emotion';
|
||||
|
||||
const borderColor = props => {
|
||||
|
||||
@@ -5,6 +5,7 @@
|
||||
* @format
|
||||
*/
|
||||
|
||||
import * as React from 'react';
|
||||
import FlexColumn from './FlexColumn.js';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user