♻️ :: Remove outdated code

This commit is contained in:
Felix Mau
2022-04-29 18:43:44 +01:00
parent 54a413d986
commit c0f27a3e48
2 changed files with 0 additions and 14 deletions
@@ -30,14 +30,7 @@ final class GradientLoadingBarControllerTestCase: XCTestCase {
// When
gradientLoadingBarController.fadeIn(duration: 0)
let expectation = expectation(description: "Wait for view to appear.")
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
expectation.fulfill()
}
// Then
wait(for: [expectation], timeout: 1)
assertSnapshot(matching: rootViewController,
as: .image(drawHierarchyInKeyWindow: true, precision: Config.precision))
}
@@ -31,14 +31,7 @@ final class NotchGradientLoadingBarControllerTestCase: XCTestCase {
// When
notchGradientLoadingBarController.fadeIn(duration: 0)
let expectation = expectation(description: "Wait for view to appear.")
DispatchQueue.main.asyncAfter(deadline: .now() + 0.5) {
expectation.fulfill()
}
// Then
wait(for: [expectation], timeout: 1)
assertSnapshot(matching: rootViewController,
as: .image(drawHierarchyInKeyWindow: true, precision: Config.precision))
}