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

chore(enzyme): depens on react-test-renderer now #1297

Merged
merged 1 commit into from
Jun 12, 2017
Merged

chore(enzyme): depens on react-test-renderer now #1297

merged 1 commit into from
Jun 12, 2017

Conversation

Stupidism
Copy link

Problem

a deprecated warning shows up when running tests with jest:

    console.error node_modules/fbjs/lib/warning.js:36
      Warning: ReactTestUtils has been moved to react-dom/test-utils. Update references to remove this warning.

Solution

Comment about solution here
enzyme document

@Stupidism
Copy link
Author

@langpavel @frenzzy This is a small PR and conflicts have been solved

@frenzzy frenzzy merged commit e6c91df into kriasoft:master Jun 12, 2017
@frenzzy
Copy link
Member

frenzzy commented Jun 12, 2017

Thanks!

@Stupidism Stupidism deleted the fix/enzyme-dev-dependencies branch June 12, 2017 17:01
n-parasochka pushed a commit to n-parasochka/react-starter-kit that referenced this pull request Apr 29, 2019
…soft#1297)

TestUtils have been moved to `react-dom/test-utils`
Shallow renderer has been moved to `react-test-renderer/shallow`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants