propsを変更する propsAというpropsをtureにする wrapper.setProps({ propsA: true }) コンポーネント内にあるhandleとかをテストする handleAというhandleを叩く wrapper.instance().handleA()
propsAというpropsをtureにする
propsA
ture
wrapper.setProps({ propsA: true })
handleAというhandleを叩く
handleA
wrapper.instance().handleA()
コンポーネントライフサイクル図解 https://qiita.com/kawachi/items/092bfc281f88e3a6e456
https://qiita.com/kawachi/items/092bfc281f88e3a6e456