Skip to content

Commit e48c998

Browse files
chore: clean up
1 parent 45dc2bb commit e48c998

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleTests/TestHarness.swift

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,12 +71,10 @@ func waitForStateChange(timeout: TimeInterval = 10.0,
7171
throw TestError.timeout("Timeout waiting for condition to be met")
7272
}
7373

74-
// Small delay to prevent busy waiting
7574
try await Task.sleep(nanoseconds: 50_000_000) // 50ms
7675
}
7776
}
7877

79-
// Add this simple error type
8078
enum TestError: Error {
8179
case timeout(String)
8280
}

samples/swiftui/FirebaseSwiftUIExample/FirebaseSwiftUIExampleUITests/MFAResolutionUITests.swift

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ final class MFAResolutionUITests: XCTestCase {
5959
)
6060

6161
XCTAssertTrue(mfaEnabled, "MFA should be enabled successfully via API")
62+
6263

6364
// Wait for sign out to complete
6465
let emailField = app.textFields["email-field"]
@@ -503,4 +504,4 @@ extension XCUIElement {
503504
typeText(deleteString)
504505
typeText(text)
505506
}
506-
}
507+
}

0 commit comments

Comments
 (0)