chore: add fetch funtcion & add tests to helper module

This commit is contained in:
Bart Stefanski 2023-04-16 20:47:49 +02:00
parent e289aeea27
commit 7b5e820285
22 changed files with 315 additions and 17 deletions

5
packages/helper/fetch.ts Normal file
View file

@ -0,0 +1,5 @@
import _fetch from "isomorphic-unfetch"
export function fetch(url: string, options: RequestInit = {}): Promise<Response> {
return _fetch(url, { ...options })
}