enzyme v2.7.0 Release Notes
Release Date: 2016-12-21 // over 7 years ago-
๐ New Stuff
shallow
/mount
: Add.slice()
method (#661)mount
: implement ReactWrapper#getDOMNode (#679)- ๐
shallow
/mount
: Addexists
; deprecate isEmpty() (#722)
๐ Fixes
mount
: extract MountedTraversal.hasClassName from MountedTraversal.instHasClassName, which allows ReactWrapper.hasClass to bypass the !isDOMComponent(inst) call (#677)withDom
: Display a useful error whenwithDom
fails to find "jsdom" (#686)mount
: ensure thatreact-text
comment nodes donโt break.find
(#691)mount
:.parents()
now filters out sibling path trees (#713)