File tree Expand file tree Collapse file tree 4 files changed +18
-2
lines changed
Sources/ComposableArchitecture
Tests/ComposableArchitectureTests Expand file tree Collapse file tree 4 files changed +18
-2
lines changed Original file line number Diff line number Diff line change 44 import Foundation
55 import XCTestDynamicOverlay
66
7+ #if os(Linux)
8+ import let CDispatch. NSEC_PER_MSEC
9+ import let CDispatch. NSEC_PER_SEC
10+ #endif
11+
712 /// A testable runtime for a reducer.
813 ///
914 /// This object aids in writing expressive and exhaustive tests for features built in the
Original file line number Diff line number Diff line change 1- import Combine
21import XCTest
32
43@testable import ComposableArchitecture
54
5+ #if os(Linux)
6+ import let CDispatch. NSEC_PER_SEC
7+ #endif
8+
69@MainActor
710final class EffectRunTests : XCTestCase {
811 func testRun( ) async {
Original file line number Diff line number Diff line change 1- import Combine
21import XCTest
32
43@testable import ComposableArchitecture
54
5+ #if os(Linux)
6+ import let CDispatch. NSEC_PER_SEC
7+ #endif
8+
69@MainActor
710final class EffectTaskTests : XCTestCase {
811 func testTask( ) async {
Original file line number Diff line number Diff line change @@ -6,6 +6,11 @@ import XCTest
66 import Combine
77#endif
88
9+ #if os(Linux)
10+ import let CDispatch. NSEC_PER_MSEC
11+ import let CDispatch. NSEC_PER_SEC
12+ #endif
13+
914@MainActor
1015final class ViewStoreTests : XCTestCase {
1116 override func setUp( ) {
You can’t perform that action at this time.
0 commit comments