Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions Tests/EventSourceTests/IntegrationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,9 @@ import Testing
// Create the EventSource with the custom configuration
let eventSource = EventSource(request: request, configuration: configuration)

// Give the connection task a chance to start
await Task.yield()

// Track received events
actor EventTracker {
var events: [EventSource.Event] = []
Expand Down