Skip to content

Commit

Permalink
Fix build for Windows and Linux
Browse files Browse the repository at this point in the history
  • Loading branch information
grdsdev committed Mar 19, 2024
1 parent 95c154f commit bd7d06e
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Tests/RealtimeTests/MockWebSocketClient.swift
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ import Foundation
@testable import Realtime
import XCTestDynamicOverlay

#if canImport(FoundationNetworking)
import FoundationNetworking
#endif

final class MockWebSocketClient: WebSocketClient {
let sentMessages = LockIsolated<[RealtimeMessageV2]>([])
func send(_ message: RealtimeMessageV2) async throws {
Expand Down

0 comments on commit bd7d06e

Please sign in to comment.