Hi all, Is there any way to mock Compose NavHostCo...
# multiplatform
h
Hi all, Is there any way to mock Compose NavHostController in Compose Multiplatform for testing purposes?
p
I believe very recently a new CMP nav component test artifact
navigation-testing
, was published. Doesn't it have a TestNavHostController?
h
Where can I find the artifcat?
p
Check the release notes: https://developer.android.com/jetpack/androidx/releases/navigation#2.9.0-alpha09 Apparently it is the same navigation-testing artifact that supports other platforms now.
🙌 2
h
Great thank you
👍 1