Skip to content

Commit

Permalink
switch to indep proptype lib for tests
Browse files Browse the repository at this point in the history
  • Loading branch information
yeojz committed May 14, 2017
1 parent 747a0d1 commit 09c9222
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
3 changes: 2 additions & 1 deletion tests/mocks/MockContext.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {Children, PropTypes} from 'react';
import React, {Children} from 'react';
import PropTypes from 'prop-types';
import getIntlContext from './getIntlContext';

const propTypes = {
Expand Down
3 changes: 2 additions & 1 deletion tests/mocks/ValidateContext.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import isValidIntlObject from './isValidIntlObject';

const contextTypes = {
Expand Down
3 changes: 2 additions & 1 deletion tests/mocks/ValidateMessage.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';

const contextTypes = {
intl: PropTypes.object,
Expand Down
3 changes: 2 additions & 1 deletion tests/mocks/ValidateProp.jsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, {PropTypes} from 'react';
import React from 'react';
import PropTypes from 'prop-types';
import isValidIntlObject from './isValidIntlObject';

const propTypes = {
Expand Down

0 comments on commit 09c9222

Please sign in to comment.