(t *testing.T, conn *websocket.Conn, id, method string, params map[string]any)
| 369 | cfg.SessionDir = filepath.Join(root, "sessions") |
| 370 | ctx, cancel := context.WithCancel(context.Background()) |
| 371 | defer cancel() |
| 372 | endpointPath := filepath.Join(root, "run", "backend.json") |
| 373 | errCh := startTestDaemon(t, ctx, cfg, endpointPath) |
| 374 | endpoint := waitForEndpoint(t, endpointPath) |
| 375 | firstConn := dialEndpoint(t, endpoint) |
| 376 | secondConn := dialEndpoint(t, endpoint) |
| 377 | defer secondConn.Close() |
| 378 | |
| 379 | first := createSession(t, firstConn, root, "create-1") |
no outgoing calls
no test coverage detected