mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-02 12:07:55 +00:00
Add xcDeferFulfillment to help with tests that have publishers. (#1278)
* Add xcAwaitDeferred to aid with tests that have publishers. * Improve naming * Address Comments - Fix naming - Add optional expectation message - Use trailing closure syntax
This commit is contained in:
@@ -16,11 +16,11 @@
|
||||
|
||||
import Foundation
|
||||
|
||||
enum ReportContentScreenViewModelAction {
|
||||
enum ReportContentScreenViewModelAction: Equatable {
|
||||
case cancel
|
||||
case submitStarted
|
||||
case submitFinished
|
||||
case submitFailed(error: Error)
|
||||
case submitFailed(error: RoomProxyError)
|
||||
}
|
||||
|
||||
struct ReportContentScreenViewState: BindableState {
|
||||
|
||||
Reference in New Issue
Block a user