zashi-ios-wallet-private/secantTests/SnapshotTests/SettingsSnapshotTests/SettingsSnapshotTests.swift

26 lines
661 B
Swift

//
// SettingsSnapshotTests.swift
// secantTests
//
// Created by Lukáš Korba on 21.07.2022.
//
import XCTest
@testable import secant_testnet
import ComposableArchitecture
import SwiftUI
class SettingsSnapshotTests: XCTestCase {
func testSettingsSnapshot() throws {
let store = Store(
initialState: .placeholder,
reducer: SettingsReducer()
.dependency(\.localAuthentication, .mockAuthenticationFailed)
.dependency(\.sdkSynchronizer, NoopSDKSynchronizer())
.dependency(\.walletStorage, .noOp)
)
addAttachments(SettingsView(store: store))
}
}