Unleash awesomeness. Private packages, team management tools, and powerful integrations. Get started with npm Orgs »

have-xpath

2.0.0 • Public • Published

have-xpath

haveXpath(element, '//blink')

Installation

> npm install --save-dev have-xpath

Development

> npm install
> npm run watch

Usage

var React = require('react');
var TestUtils = require('react-addons-test-utils');
var haveXpath = require('have-xpath');
 
var component = TestUtils.renderIntoDocument(<h1>hi there o/</h1>);
 
haveXpath(component, '//h1') // => true

MIT © Rolf Erik Lekang

Keywords

install

npm i have-xpath

Downloadsweekly downloads

0

version

2.0.0

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability