Skip to content

Commit

Permalink
Excluding network-related tests on windows/linux
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelGHSeg committed Nov 15, 2024
1 parent 9527732 commit 78f1d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/Segment-Tests/Telemetry_Tests.swift
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
#if !os(Linux) && !os(Windows)
import XCTest
#if os(Linux) || os(Windows)
import FoundationNetworking
#endif

@testable import Segment

Expand Down Expand Up @@ -168,3 +166,5 @@ class URLSessionMock: RestrictedHTTPSession {
class URLSessionDataTaskMock: URLSessionDataTask, @unchecked Sendable {
override func resume() {}
}

#endif

0 comments on commit 78f1d88

Please sign in to comment.