2.0.0 • Published 7 years ago

have-xpath v2.0.0

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

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

2.0.0

7 years ago

1.0.5

8 years ago

1.0.4

8 years ago

1.0.3

8 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago