This repository has been archived by the owner on Jul 8, 2021. It is now read-only.
0.2.0: Better State support
Breaking Changes
- The
Enzyme.getLength
function has been renamed toEnzyme.length
for consistency #1 - The
props
,propFor
,setProps
,state
,stateFor
,setState
,context
,contextFor
, andsetContext
functions have been renamed tojsProps
,jsPropFor
,setJsProps
,jsState
,jsStateFor
,setJsState
,jsContext
,jsContextFor
, andsetJsContext
respectively.
New
Enzyme.foldLeft
andEnzyme.foldRight
have been added as wrappers aroundshallowWrapper
'sreduce
andreduceRight
methods.Enzyme.state
now returns a component'sreasonState