From 6f0d85b414c4f217bb65173d52d6b14cbf9d0119 Mon Sep 17 00:00:00 2001 From: StevanFreeborn <65925598+StevanFreeborn@users.noreply.github.com> Date: Mon, 13 Feb 2023 21:20:10 -0600 Subject: [PATCH] fix: read base url from env file in integration tests --- integrationTests/getApps.spec.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/integrationTests/getApps.spec.ts b/integrationTests/getApps.spec.ts index 32bc73a..92ed540 100644 --- a/integrationTests/getApps.spec.ts +++ b/integrationTests/getApps.spec.ts @@ -6,10 +6,11 @@ const envPath = path.resolve(__dirname, '.env'); dotenv.config({ path: envPath }); describe('getApps', function () { - const baseURL = 'https://api.onspring.com'; + let baseURL; let apiKey; before(function () { + baseURL = process.env.API_BASE_URL; apiKey = process.env.SANDBOX_API_KEY; });