10 lines
274 B
TypeScript
10 lines
274 B
TypeScript
/**
|
|
* Loads the API test environment (credentials + base URL) before the suites run.
|
|
*
|
|
* tests/.env is git-ignored. Copy tests/.env.example and fill it in.
|
|
*/
|
|
|
|
import path from 'path'
|
|
import dotenv from 'dotenv'
|
|
|
|
dotenv.config({ path: path.resolve(__dirname, '.env') })
|