(body, status = 200)
| 19 | } |
| 20 | |
| 21 | function jsonResponse(body, status = 200) { |
| 22 | return { |
| 23 | status, |
| 24 | ok: status >= 200 && status < 300, |
| 25 | json: async () => body, |
| 26 | text: async () => JSON.stringify(body), |
| 27 | }; |
| 28 | } |
| 29 | |
| 30 | function encryptedTrace(ciphertext) { |
| 31 | return { |
no outgoing calls
no test coverage detected