26 lines
668 B
Swift
26 lines
668 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(\.localAuthenticationHandler, .unimplemented)
|
|
.dependency(\.sdkSynchronizer, TestWrappedSDKSynchronizer())
|
|
.dependency(\.walletStorage, .throwing)
|
|
)
|
|
|
|
addAttachments(SettingsView(store: store))
|
|
}
|
|
}
|