()
| 1 | import { $fetch } from "../src/index.ts"; |
| 2 | |
| 3 | async function main() { |
| 4 | // const r = await $fetch<string>('http://google.com/404') |
| 5 | const r = await $fetch<string>("http://httpstat.us/500"); |
| 6 | // const r = await $fetch<string>('http://httpstat/500') |
| 7 | |
| 8 | console.log(r); |
| 9 | } |
| 10 | |
| 11 | // eslint-disable-next-line unicorn/prefer-top-level-await |
| 12 | main().catch((error) => { |
no outgoing calls
no test coverage detected
searching dependent graphs…