(udid: string, suffix: string)
| 232 | const endpoint = result.url; |
| 233 | const createSession = (defaultUdid?: string): SimDeckSession => { |
| 234 | const simulatorPath = (udid: string, suffix: string) => |
| 235 | `/api/simulators/${encodeURIComponent(udid)}${suffix}`; |
| 236 | const actionPath = (udid: string) => simulatorPath(udid, "/action"); |
| 237 | const requestAction = <T = unknown>(udid: string, body: unknown) => |
| 238 | requestJson<T>(endpoint, "POST", actionPath(udid), body); |
no outgoing calls
no test coverage detected