fix: add dotenv vault

This commit is contained in:
StevanFreeborn
2023-02-19 16:27:52 -06:00
parent 62a7c7b832
commit e870722e3d
4 changed files with 45 additions and 30 deletions
+1 -3
View File
@@ -1,9 +1,7 @@
import { type RootHookObject, type Context } from 'mocha';
import { expect } from 'chai';
import * as dotenv from 'dotenv';
import path from 'path';
const envPath = path.resolve(__dirname, '.env');
dotenv.config({ path: envPath });
dotenv.config();
let baseURL: string | undefined;
let apiKey: string | undefined;