Table of Contents
Introduction
Guides
Migration from 2.x to 3.x
Browserify
SystemJS
Webpack
JSDOM
Jest
Karma
Mocha
React Native
Lab
Tape and AVA
Installation
Working with React 16.x
Working with React 15.x
Working with React 0.14.x
Working with React 0.13.x
API Reference
Shallow Rendering
at(index)
childAt()
children()
closest(selector)
contains(nodeOrNodes)
containsAllMatchingElements(nodes)
containsAnyMatchingElements(nodes)
containsMatchingElement(node)
context([key])
debug()
dive()
equals(node)
every(selector)
everyWhere(predicate)
exists([selector])
filter(selector)
filterWhere(predicate)
find(selector)
findWhere(predicate)
first()
forEach(fn)
get(index)
getWrappingComponent()
getElement(index)
getElements(index)
hasClass(className)
hostNodes()
html()
instance()
invoke(propName)
is(selector)
isEmpty()
isEmptyRender()
key()
last()
map(fn)
matchesElement(node)
name()
not(selector)
parent()
parents()
prop(key)
props()
reduce(fn[, initialValue])
reduceRight(fn[, initialValue])
render()
renderProp(key)
setContext(context)
setProps(nextProps)
setState(nextState[, callback])
shallow([options])
simulate(event[, data])
simulateError(error)
slice([begin[, end]])
some(selector)
someWhere(predicate)
state([key])
tap(intercepter)
text()
type()
unmount()
update()
Full DOM Rendering
at(index)
childAt()
children()
contains(nodeOrNodes)
containsAllMatchingElements(nodes)
containsAnyMatchingElements(nodes)
containsMatchingElement(node)
closest(selector)
context([key])
debug()
detach()
equals(node)
every(selector)
everyWhere(predicate)
exists([selector])
filter(selector)
filterWhere(predicate)
find(selector)
findWhere(predicate)
first()
forEach(fn)
get(index)
getDOMNode()
getWrappingComponent()
hasClass(className)
hostNodes()
html()
instance()
invoke(propName)
is(selector)
isEmpty()
isEmptyRender()
key()
last()
map(fn)
matchesElement(node)
mount()
name()
not(selector)
parent()
parents()
prop(key)
props()
reduce(fn[, initialValue])
reduceRight(fn[, initialValue])
ref(refName)
render()
renderProp(key)
setContext(context)
setProps(nextProps[, callback])
setState(nextState[, callback])
simulate(event[, data])
simulateError(error)
slice([begin[, end]])
some(selector)
someWhere(predicate)
state([key])
tap(intercepter)
text()
type()
unmount()
update()
Static Rendering
Selectors
Change Log
Future
Contributing Guide
Published with GitBook
Guides
enzyme Guides
Using enzyme with Browserify
Using enzyme with Webpack
Using enzyme with JSDOM
Using enzyme with Jest
Using enzyme with Karma
Using enzyme with Mocha
Using enzyme with React Native
Using enzyme with Lab
Using enzyme with Tape and AVA