Skip to content

Commit

Permalink
Merge pull request enzymejs#1399 from aweary/use-react-reconciler-rea…
Browse files Browse the repository at this point in the history
…ct-16

[enzyme-adapter-react-16] [Refactor] Import findCurrentFiberUsingSlowPath from react-reconciler/reflection
  • Loading branch information
ljharb authored Dec 1, 2017
2 parents bbf39e0 + 441a1af commit d60360c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 105 deletions.
1 change: 1 addition & 0 deletions packages/enzyme-adapter-react-16/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@
"object.assign": "^4.0.4",
"object.values": "^1.0.4",
"prop-types": "^15.5.10",
"react-reconciler": "^0.7.0",
"react-test-renderer": "^16.0.0-0"
},
"peerDependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import {
createMountWrapper,
propsWithKeysAndRef,
} from 'enzyme-adapter-utils';
import findCurrentFiberUsingSlowPath from './findCurrentFiberUsingSlowPath';
import { findCurrentFiberUsingSlowPath } from 'react-reconciler/reflection';

const HostRoot = 3;
const ClassComponent = 2;
Expand Down
104 changes: 0 additions & 104 deletions packages/enzyme-adapter-react-16/src/findCurrentFiberUsingSlowPath.js

This file was deleted.

0 comments on commit d60360c

Please sign in to comment.