(value: unknown)
| 143 | }; |
| 144 | |
| 145 | const readStructuredRecord = (value: unknown): Record<string, unknown> => { |
| 146 | expect(typeof value).toBe("object"); |
| 147 | expect(value).not.toBeNull(); |
| 148 | return value as Record<string, unknown>; |
| 149 | }; |
| 150 | |
| 151 | const readApproval = (structured: unknown): { readonly executionId: string; readonly url: URL } => { |
| 152 | const record = readStructuredRecord(structured); |
no outgoing calls
no test coverage detected