Skip to content

Commit

Permalink
Removed unwanted files
Browse files Browse the repository at this point in the history
  • Loading branch information
soorinpark committed Nov 2, 2021
1 parent d54c04d commit 2057460
Show file tree
Hide file tree
Showing 15 changed files with 29 additions and 380 deletions.
4 changes: 4 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,7 @@ SampleApp.xcworkspace

# ios-snapshot-test-case Failure Diffs
FailureDiffs/

Samples/**/*Info.plist
!Samples/Tutorial/AppHost/Configuration/Info.plist
!Samples/Tutorial/AppHost/TutorialTests/Info.plist
60 changes: 0 additions & 60 deletions Samples/SampleSwiftUIApp/SampleSwiftUIApp/Info.plist

This file was deleted.

22 changes: 0 additions & 22 deletions Samples/TicTacToe/Tests/Info.plist

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,8 @@
//

import Combine
import ReactiveSwift
import Workflow
import WorkflowCombine
import WorkflowReactiveSwift
import WorkflowUI

// MARK: Workers
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ struct DemoWorkflow: Workflow {
// MARK: State and Initialization

extension DemoWorkflow {
struct State {
struct State: Equatable {
var date: Date
}

Expand Down

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
//
// DemoWorkflowTests.swift
// WorkflowCombineSampleAppUnitTests
//
// Created by Soo Rin Park on 11/1/21.
//

import Combine
import Workflow
import WorkflowTesting
import XCTest
@testable import Development_WorkflowCombineSampleApp

class DemoWorkflowTests: XCTestCase {
func test_workflowIsRenderedEverySecondForFiveSeconds() {
let expectedDate = Date(timeIntervalSince1970: 0)

DemoWorkflow
.Action
.tester(withState: .init(date: Date())) // the initial date itself does not matter
.send(action: .init(publishedDate: expectedDate))
.assert(state: .init(date: expectedDate))
}
}
Loading

0 comments on commit 2057460

Please sign in to comment.