23 lines
583 B
Swift
23 lines
583 B
Swift
//
|
|
// RecoveryPhraseDisplaySnapshotTests.swift
|
|
// secantTests
|
|
//
|
|
// Created by Lukáš Korba on 13.06.2022.
|
|
//
|
|
|
|
import XCTest
|
|
@testable import secant_testnet
|
|
import ComposableArchitecture
|
|
|
|
class RecoveryPhraseDisplaySnapshotTests: XCTestCase {
|
|
func testRecoveryPhraseDisplaySnapshot() throws {
|
|
let store = RecoveryPhraseDisplayStore(
|
|
initialState: .init(phrase: .placeholder),
|
|
reducer: RecoveryPhraseDisplayReducer.demo,
|
|
environment: Void()
|
|
)
|
|
|
|
addAttachments(RecoveryPhraseDisplayView(store: store))
|
|
}
|
|
}
|