diff --git a/Passepartout/Library/Tests/CommonLibraryTests/ProfileManagerTests.swift b/Passepartout/Library/Tests/CommonLibraryTests/ProfileManagerTests.swift index 7867135a..b007c533 100644 --- a/Passepartout/Library/Tests/CommonLibraryTests/ProfileManagerTests.swift +++ b/Passepartout/Library/Tests/CommonLibraryTests/ProfileManagerTests.swift @@ -709,6 +709,9 @@ private extension ProfileManagerTests { after action: (ProfileManager) async throws -> Void, until condition: @escaping (ProfileManager) -> Bool ) async throws { + guard !condition(sut) else { + return + } let exp = expectation(description: description) var wasMet = false