diff --git a/package.json b/package.json index fa55a9f..3a03e04 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { "name": "bill", - "version": "3.2.4", + "version": "3.2.5", "description": "css selectors for React Elements", "main": "lib/index.js", "scripts": { "tdd": "karma start", - "test": "karma start --single-run", - "test-all": "npm run react:13 && npm test && npm run react:14 && npm test && npm run react:15.3 && npm test && npm run react:15.4 && npm test", + "test-current": "karma start --single-run", + "test": "npm run react:13 && npm run test-current && npm run react:14 && npm run test-current && npm run react:15.3 && npm run test-current && npm run react:15.4 && npm run test-current", "lint": "eslint src", "react:clean": "rimraf node_modules/react node_modules/react-dom", "react:13": "npm run react:clean && npm i react@0.13.x", diff --git a/src/utils.js b/src/utils.js index 7d3cd1a..281fea6 100644 --- a/src/utils.js +++ b/src/utils.js @@ -35,6 +35,7 @@ export let isReactInstance = obj => (has(obj, '_instance') || has(obj, '_mountOrder') || has(obj, '_nativeNode') || + has(obj, '_hostNode') || has(obj, '_rootNodeID')); export let getRenderedChildren = ifDef({