(requestId: number, envName?: string)
| 364 | const get = (key: string): string => |
| 365 | getEnvVar(reqCollections, request.collectionId, key, envName); |
| 366 | const exec = async (requestId: number, envName?: string) => { |
| 367 | const request = findRequest(reqCollections, requestId); |
| 368 | if (!request || request.type !== 'REST') { |
| 369 | throw Error(`REST Request with id ${requestId} not found`); |
| 370 | } |
| 371 | if (!n) n = 0; |
| 372 | return await sendRequest(request, reqCollections, envName, n + 1); |
| 373 | }; |
| 374 | await executeRequestScript( |
| 375 | request, |
| 376 | requestScript, |
nothing calls this directly
no test coverage detected