Closed ismai117 closed 2 months ago
You shouldn't be testing the Screen itself, you should be extracting the Screen UI to its own outside composable that you can then call in the Screen.Content() and your test. Any CompositionLocals should be called in the Screen.Content() and lambas for different actions should be passed as parameters to the UI.
Hi, I'm currently testing the UI in my app, the test fails due to LocalNavigator.currentOrThrow