mirror of
https://github.com/bitwarden/ios.git
synced 2025-12-11 04:34:55 -06:00
30 lines
708 B
Swift
30 lines
708 B
Swift
import AuthenticatorShared
|
|
import SnapshotTesting
|
|
import SwiftUI
|
|
import TestHelpers
|
|
import XCTest
|
|
|
|
open class AuthenticatorTestCase: BaseBitwardenTestCase {
|
|
@MainActor
|
|
override open class func setUp() {
|
|
// Apply default appearances for snapshot tests.
|
|
UI.applyDefaultAppearances()
|
|
}
|
|
|
|
/// Executes any logic that should be applied before each test runs.
|
|
///
|
|
@MainActor
|
|
override open func setUp() {
|
|
super.setUp()
|
|
UI.animated = false
|
|
UI.sizeCategory = .large
|
|
}
|
|
|
|
/// Executes any logic that should be applied after each test runs.
|
|
///
|
|
override open func tearDown() {
|
|
super.tearDown()
|
|
UI.animated = false
|
|
}
|
|
}
|