From 1e1de16c876e94db512fb97a2900716e18fa2d39 Mon Sep 17 00:00:00 2001 From: dominik-zeglen Date: Tue, 28 Jul 2020 12:33:55 +0200 Subject: [PATCH] Use env variable --- testUtils/api.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/testUtils/api.ts b/testUtils/api.ts index 583f2a6de..58badce16 100644 --- a/testUtils/api.ts +++ b/testUtils/api.ts @@ -25,7 +25,7 @@ function setupApi() { const link = new BatchHttpLink({ // @ts-ignore fetch, - uri: "http://localhost:8000/graphql/" + uri: process.env.API_URI }); const apolloClient = new ApolloClient({ cache,