cashapp / paparazzi

Render your Android screens without a physical device or emulator
https://cashapp.github.io/paparazzi/
Apache License 2.0
2.24k stars 212 forks source link

Use our own HandlerDispatcher for ComposeUi tests #1306

Closed gamepro65 closed 5 months ago

gamepro65 commented 5 months ago

coroutines-test can put Dispatchers.Main in an unpredictable state. Instead we create our own HandlerDispatcher which prevents this dependency from interfering with Paparazzi.

Resolves: https://github.com/cashapp/paparazzi/issues/1304