react-test-renderer
Advanced tools
Changelog
15.4.0 (November 16, 2016)
aria-
attributes. (@jessebeach in #7744)autofocus
rather than autoFocus
. (@hkal in #7694)String.prototype.split
. (@nhunzaker in #7629)batchedUpdates
API now passes the wrapped function's return value through. (@bgnorlov in #7444)Simulate.click()
on a <input disabled onClick={foo} />
then foo
will get called whereas it didn't before. (@nhunzaker in #7642)ReactTestRenderer.create()
now accepts {createNodeMock: element => mock}
as an optional argument so you can mock refs with snapshot testing. (@Aweary in #7649, #8261)Changelog
15.3.2 (September 19, 2016)
playsInline
to supported HTML attributes. (@reaperhulk in #7519)as
to supported HTML attributes. (@kevinslin in #7582)preventDefault()
in Synthetic Events. (@g-palmer in #7411)onSelect
implementation. (@AgtLucas in #7533)document.documentMode
checks to handle Google Tag Manager. (@SchleyB in #7594)document.createEvent
. (@Andarist in #7621)dangerouslySetInnerHTML
and SVG in Internet Explorer. (@zpao in #7618)Changelog
15.3.1 (August 19, 2016)
React.Children.only
. (@sophiebits in #7514)<input>
validation warning from browsers when changing type
. (@nhunzaker in #7333)stopPropagation()
in Synthetic Events. (@nhunzaker in #7343)<input>
elements in mobile browsers. (@keyanzhang in #7397)<input type="range">
values not updating when changing min
or max
. (@troydemonbreun in #7486)trackedTouchCount
invariant into a console.error for better reliability. (@yungsters in #7400)