Triton/Packages/AuthSession/Sources/AuthSessionService/Fixtures/KeychainStoreMother.swift
Otávio 3e878667a1 Add Triton App
Signed-off-by: Otavio Cordeiro <otaviocc@users.noreply.github.com>
2025-12-15 20:39:07 +01:00

19 lines
368 B
Swift

#if DEBUG
enum KeychainStoreMother {
// MARK: - Nested types
private final class FakeKeychainStore: KeychainStoreProtocol, @unchecked Sendable {
var wrappedValue: String?
}
// MARK: - Public
static func makeKeychainStore() -> KeychainStoreProtocol {
FakeKeychainStore()
}
}
#endif