(value: unknown)
| 128 | }; |
| 129 | |
| 130 | const readStructuredRecord = (value: unknown): Record<string, unknown> => { |
| 131 | expect(typeof value).toBe("object"); |
| 132 | expect(value).not.toBeNull(); |
| 133 | return value as Record<string, unknown>; |
| 134 | }; |
| 135 | |
| 136 | const readApproval = (structured: unknown): { readonly executionId: string; readonly url: URL } => { |
| 137 | const record = readStructuredRecord(structured); |
no outgoing calls
no test coverage detected