-
How would you go about testing the override val models: Value<Model> = store.asValue().map {
Model(
a = it.a,
b = it.b,
)
}
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
You can just verify the value: |
Beta Was this translation helpful? Give feedback.
You can just verify the value:
some.models.value
. Please see an example: https://github.com/JetBrains/compose-jb/blob/620b50ae1205bccbc4982bcc5a6d4c86ef515edd/examples/todoapp/common/main/src/commonTest/kotlin/example/todo/common/main/integration/TodoMainTest.kt#L126