expectRemember
fun <PropsT, StateT, OutputT, RenderingT> RenderTester<PropsT, StateT, OutputT, RenderingT>.expectRemember(key: String, resultType: KType, vararg inputs: Any?, description: String = "", assertInputs: (inputs: List<Any?>) -> Unit = {}): RenderTester<PropsT, StateT, OutputT, RenderingT>(source)
Specifies that this render pass is expected to remember a particular calculated value.
Parameters
key
The key passed to remember when rendering this workflow.
resultType
The type of the value returned by the calculation
function passed to remember.
inputs
The inputs
values passed to remember, if any
assertInputs
A function that performs assertions on the inputs passed to remember.
description
Optional string that will be used to describe this expectation in error messages.