From 4ab2ea92467f6aa6d6fc7ff8baf9609b2844a32d Mon Sep 17 00:00:00 2001 From: Pavel Mineev Date: Mon, 1 Feb 2021 12:24:38 +0300 Subject: [PATCH] fix default export for tests --- frontend/app/common/fetcher.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/frontend/app/common/fetcher.ts b/frontend/app/common/fetcher.ts index 71bc9aca..14874900 100644 --- a/frontend/app/common/fetcher.ts +++ b/frontend/app/common/fetcher.ts @@ -118,3 +118,4 @@ const createFetcher = (baseUrl: string = ''): Methods => { export const apiFetcher = createFetcher(`${BASE_URL}${API_BASE}`); export const authFetcher = createFetcher(`${BASE_URL}/auth`); export const adminFetcher = createFetcher(`${BASE_URL}${API_BASE}/admin`); +export default createFetcher;