prepare
Prepare section for testing.
Prepare sets up a proper scoped SectionContext we can use to test lifecycle methods and state updates. It also prepares the given section for use by calling lifecycle methods like onCreateInitialState
.
Prepare section for testing.
Prepare sets up a proper scoped SectionContext we can use to test lifecycle methods and state updates. It also prepares the given section for use by calling lifecycle methods like onCreateInitialState
.