34 lines
744 B
Swift
34 lines
744 B
Swift
//
|
|
// ImportWalletSnapshotTests.swift
|
|
// secantTests
|
|
//
|
|
// Created by Lukáš Korba on 13.06.2022.
|
|
//
|
|
|
|
import XCTest
|
|
import ComposableArchitecture
|
|
import ImportWallet
|
|
@testable import secant_testnet
|
|
|
|
class ImportWalletSnapshotTests: XCTestCase {
|
|
func testImportWalletSnapshot() throws {
|
|
let store = StoreOf<ImportWallet>(
|
|
initialState: .initial
|
|
) {
|
|
ImportWallet()
|
|
}
|
|
|
|
addAttachments(ImportWalletView(store: store))
|
|
}
|
|
|
|
func testImportBirthdaySnapshot() throws {
|
|
let store = StoreOf<ImportWallet>(
|
|
initialState: .initial
|
|
) {
|
|
ImportWallet()
|
|
}
|
|
|
|
addAttachments(ImportBirthdayView(store: store))
|
|
}
|
|
}
|