pointfreeco / swift-composable-architecture

A library for building applications in a consistent and understandable way, with composition, testing, and ergonomics in mind.
https://www.pointfree.co/collections/composable-architecture
MIT License
12.22k stars 1.42k forks source link

Have `store.finish()` assert no received actions #3054

Closed stephencelis closed 4 months ago

stephencelis commented 4 months ago

store.finish() should do much of the same work as store.deinit, but asynchronously with a timeout. This PR updates things so that folks with long-living test stores (e.g. held onto by the test case) have the ability to assert that there are no unreceived actions.