Skip to content
Snippets Groups Projects
NewGroupComponentTests.swift 490 B
Newer Older
Dariusz Rybicki's avatar
Dariusz Rybicki committed
import ComposableArchitecture
import XCTest
@testable import NewGroupFeature

final class NewGroupComponentTests: XCTestCase {
  func testStart() {
    let store = TestStore(
      initialState: NewGroupComponent.State(),
      reducer: NewGroupComponent()
    )

    store.send(.start)
    store.send(.didFinish)
  }

  func testFinish() {
    let store = TestStore(
      initialState: NewGroupComponent.State(),
      reducer: NewGroupComponent()
    )

    store.send(.didFinish)