
Testing XState machines in your React Native app
This article shows how to test the payment authorisation flow we implemented with XState and React Navigation. We will first test the business logic, and then add some integration-style tests for the navigation screens.