add simpleProxyFetcher and add fetcher unit tests

This commit is contained in:
mrjvs
2023-09-10 19:09:23 +02:00
parent a31e05adfb
commit aa24946d6f
5 changed files with 286 additions and 3 deletions

View File

@@ -25,11 +25,8 @@ Todos:
- does it return as expected?
- does it error when invalid id?
- makeStandardFetcher()
- do all parameters get passed to real fetch as expected?
- does serialisation work as expected? (formdata + json + string)
- does json responses get automatically parsed?
- add all real providers
- fetcher for MW's simple-proxy
- make default fetcher maker thing work with both undici and node-fetch
Future todos: