mirror of
https://github.com/Novaloop-AG/element-x-ios.git
synced 2026-11-04 10:33:45 +00:00
Fix for flaky tests (#5869)
* possible logging tests fix * fix for flaky tests * use timelimit for max test time * pr suggestions * remove comment
This commit is contained in:
@@ -329,25 +329,3 @@ struct ChatsTabFlowCoordinatorTests {
|
||||
withExtendedLifetime(previousDetailRootCoordinator) { }
|
||||
}
|
||||
}
|
||||
|
||||
// Sendable projections of the split coordinator's non-Sendable coordinator references,
|
||||
// allowing the tests to `observe` them and wait for navigation with `deferFulfillment`.
|
||||
private extension NavigationSplitCoordinator {
|
||||
var detailCoordinatorID: ObjectIdentifier? {
|
||||
detailCoordinator.map { ObjectIdentifier($0) }
|
||||
}
|
||||
|
||||
/// The root coordinator inside the detail navigation stack.
|
||||
var detailRootCoordinator: (any CoordinatorProtocol)? {
|
||||
(detailCoordinator as? NavigationStackCoordinator)?.rootCoordinator
|
||||
}
|
||||
|
||||
/// The identity of the root coordinator inside the detail navigation stack.
|
||||
var detailRootCoordinatorID: ObjectIdentifier? {
|
||||
detailRootCoordinator.map { ObjectIdentifier($0) }
|
||||
}
|
||||
|
||||
var sheetCoordinatorID: ObjectIdentifier? {
|
||||
sheetCoordinator.map { ObjectIdentifier($0) }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user