feat(companion): serve the wire protocol from a parked runner

This commit is contained in:
pj committed 2026-06-07 15:41:16 +05:30
1 parent 84e8274d09
commit 88aeeff1a5
2 files changed
+159

No files matched your search

+11
View File
@@ -0,0 +1,11 @@
import XCTest
// The single long-lived test method: it starts the server and parks the runner
// in a run loop so the simulator process stays alive serving the protocol.
final class RunnerTestCase: XCTestCase {
func testServeForever() throws {
let server = try Server()
server.start()
RunLoop.current.run()
}
}