You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As I see resolution was merged facebook/react#12895 and will be shipped with [email protected] ✌️ You can check 16.4.3-alpha.0, however I don't recomend to use it in production.
The best is wait for issue resolution I think. We have similar issue in docs, #3020 😭
Hi all,
My testcases with an open Modal breaks when I step up react-semantic from version v.0.81.3 -> v.0.82.0.
The test case:
import React from 'react'
import renderer from 'react-test-renderer'
import Success from 'app/Success'
const showProps = {
show: true,
onClose: () => {}
}
test('renders open', () => {
const component = renderer.create(<Success {...showProps}/>)
let tree = component.toJSON()
expect(tree).toMatchSnapshot()
})
The error message (from inside react-test-renderer):
TypeError: parentInstance.children.indexOf is not a function
Any tips on how to get around this or fix it is much appreciated.
Thanks Peter.
The text was updated successfully, but these errors were encountered: