(
{ headers } = { headers: { "content-type": "application/json" } }
)
| 308 | }); |
| 309 | |
| 310 | const createSampleResponse = ( |
| 311 | { headers } = { headers: { "content-type": "application/json" } } |
| 312 | ) => |
| 313 | ({ |
| 314 | data: { |
| 315 | first: "123", |
| 316 | second: 111, |
| 317 | }, |
| 318 | status: 200, |
| 319 | headers: headers, |
| 320 | config: {}, |
| 321 | statusText: "OK", |
| 322 | } as unknown as AxiosResponse); |
| 323 | |
| 324 | const api = apiBuilder({ |
| 325 | path: "/parse", |
no outgoing calls
no test coverage detected