Skip to content

Commit

Permalink
RSTTraversal: remove nodeHasProperty export; broken since #1157
Browse files Browse the repository at this point in the history
  • Loading branch information
ljharb committed Jul 7, 2018
1 parent d7f3261 commit edabb1b
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions packages/enzyme/src/RSTTraversal.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import flatten from 'lodash/flatten';
import entries from 'object.entries';
import isSubset from 'is-subset';
import functionName from 'function.prototype.name';
import { nodeHasProperty } from './Utils';

export function propsOfNode(node) {
return (node && node.props) || {};
Expand Down Expand Up @@ -96,9 +95,6 @@ export function nodeHasId(node, id) {
return propsOfNode(node).id === id;
}


export { nodeHasProperty };

const CAN_NEVER_MATCH = {};
function replaceUndefined(v) {
return typeof v !== 'undefined' ? v : CAN_NEVER_MATCH;
Expand Down

0 comments on commit edabb1b

Please sign in to comment.