Introduction
1.
Installation
1.1.
Working with React 0.13.x
1.2.
Working with React 0.14.x
1.3.
Working with jsDom
2.
API Reference
2.1.
Shallow Rendering
2.1.1.
find(selector)
2.1.2.
findWhere(predicate)
2.1.3.
filter(selector)
2.1.4.
filterWhere(predicate)
2.1.5.
contains(node)
2.1.6.
hasClass(className)
2.1.7.
is(selector)
2.1.8.
not(selector)
2.1.9.
children()
2.1.10.
parents()
2.1.11.
parent()
2.1.12.
closest(selector)
2.1.13.
shallow()
2.1.14.
render()
2.1.15.
text()
2.1.16.
html()
2.1.17.
get(index)
2.1.18.
at(index)
2.1.19.
first()
2.1.20.
last()
2.1.21.
state([key])
2.1.22.
props()
2.1.23.
prop([key])
2.1.24.
simulate(event[, data])
2.1.25.
setState(nextState)
2.1.26.
setProps(nextProps)
2.1.27.
instance()
2.1.28.
update()
2.1.29.
debug()
2.1.30.
type()
2.1.31.
forEach(fn)
2.1.32.
map(fn)
2.1.33.
reduce(fn[, initialValue])
2.1.34.
reduceRight(fn[, initialValue])
2.1.35.
some(selector)
2.1.36.
someWhere(predicate)
2.1.37.
every(selector)
2.1.38.
everyWhere(selector)
2.2.
Full DOM Rendering
2.2.1.
find(selector)
2.2.2.
findWhere(predicate)
2.2.3.
filter(selector)
2.2.4.
filterWhere(predicate)
2.2.5.
contains(node)
2.2.6.
hasClass(className)
2.2.7.
is(selector)
2.2.8.
not(selector)
2.2.9.
children()
2.2.10.
parents()
2.2.11.
parent()
2.2.12.
closest(selector)
2.2.13.
text()
2.2.14.
get(index)
2.2.15.
at(index)
2.2.16.
first()
2.2.17.
last()
2.2.18.
state([key])
2.2.19.
props()
2.2.20.
prop([key])
2.2.21.
simulate(event[, data])
2.2.22.
setState(nextState)
2.2.23.
setProps(nextProps)
2.2.24.
instance()
2.2.25.
update()
2.2.26.
type()
2.2.27.
forEach(fn)
2.2.28.
map(fn)
2.2.29.
reduce(fn[, initialValue])
2.2.30.
reduceRight(fn[, initialValue])
2.2.31.
some(selector)
2.2.32.
someWhere(predicate)
2.2.33.
every(selector)
2.2.34.
everyWhere(selector)
2.3.
Static Rendering
2.4.
Selectors
3.
Change Log
4.
Future
5.
Contributing Guide
Published with GitBook
A
A
Serif
Sans
White
Sepia
Night
Share on Twitter
Share on Google
Share on Facebook
Share on Weibo
Share on Instapaper
Enzyme
Edit This Page
Change Log
1.1.0 (December 7, 2015)
Minor Changes
Support for Stateless Functional Components (
#53
)
Patches
Tweak
describeWithDOM
messaging (
#48
)
Documentation Fixesgs
1.0.0 (December 3, 2015)
Official Release!