fix: read base url from env file in integration tests

This commit is contained in:
StevanFreeborn
2023-02-13 21:20:10 -06:00
parent 6adaaaaffd
commit 6f0d85b414
+2 -1
View File
@@ -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;
});