We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d156214 commit 21e20a1Copy full SHA for 21e20a1
Networking/Tests/NetworkingTests/MockPeerEventTests.swift
@@ -254,7 +254,10 @@ final class MockPeerEventTests {
254
configuration: clientConfiguration
255
)
256
try clientConnection.connect(to: listenAddress)
257
+ let stream1 = try clientConnection.createStream()
258
+ try stream1.send(data: Data("test data 1".utf8))
259
try? await Task.sleep(for: .milliseconds(1000))
260
+
261
#expect(throws: Error.self) {
262
let stream1 = try clientConnection.createStream()
263
try stream1.send(data: Data("test data 1".utf8))
0 commit comments