score:5

Accepted answer
const gameRender = renderer.create(<Game {...props} />)
const gameInstance = gameRender.getInstance()

gameInstance.setState({ updated: true })

Related Query

More Query from same tag