(callIdx = 0)
| 16 | }); |
| 17 | |
| 18 | function bodyOf(callIdx = 0): { |
| 19 | properties: Record<string, unknown>; |
| 20 | global_properties: Record<string, unknown>; |
| 21 | } { |
| 22 | const init = fetchMock.mock.calls[callIdx][1] as RequestInit; |
| 23 | return JSON.parse(init.body as string); |
| 24 | } |
| 25 | |
| 26 | function headersOf(callIdx = 0): Record<string, string> { |
| 27 | const init = fetchMock.mock.calls[callIdx][1] as RequestInit; |
no test coverage detected
searching dependent graphs…