Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install react-test-renderer, and Fix to react-test-renderer/shallow #318

Merged
merged 1 commit into from
May 5, 2017

Conversation

kaekasui
Copy link
Contributor

@kaekasui kaekasui commented May 5, 2017

対応内容

#288 一部、warningsを解消

The exception is shallow rendering, which is not DOM-specific. The shallow renderer has been moved to react-test-renderer/shallow.

// Before (15.4 and below)
import { createRenderer } from 'react-addons-test-utils';

// After (15.5)
import { createRenderer } from 'react-test-renderer/shallow';

@kaekasui kaekasui added this to the v1.0.0 milestone May 5, 2017
@kaekasui kaekasui merged commit d896234 into master May 5, 2017
@kaekasui kaekasui deleted the fix-testutils-warnings branch May 5, 2017 17:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants