env vars
This commit is contained in:
34
tests/env.d.ts
vendored
Normal file
34
tests/env.d.ts
vendored
Normal file
@@ -0,0 +1,34 @@
|
||||
declare global {
|
||||
namespace NodeJS {
|
||||
interface ProcessEnv {
|
||||
NODE_ENV?: 'development' | 'production' | 'test';
|
||||
|
||||
// CI providers / generic CI
|
||||
CI?: string;
|
||||
CONTINUOUS_INTEGRATION?: string;
|
||||
GITHUB_ACTIONS?: string;
|
||||
GITLAB_CI?: string;
|
||||
CIRCLECI?: string;
|
||||
TRAVIS?: string;
|
||||
JENKINS_URL?: string;
|
||||
BUILDKITE?: string;
|
||||
TF_BUILD?: string;
|
||||
|
||||
// Playwright / smoke
|
||||
DOCKER_SMOKE?: string;
|
||||
|
||||
// E2E toggles
|
||||
HOSTED_REAL_E2E?: '0' | '1';
|
||||
COMPANION_FIXTURE_HOSTED?: string;
|
||||
|
||||
// Electron (smoke harness)
|
||||
ELECTRON_EXECUTABLE_PATH?: string;
|
||||
|
||||
// Headless heuristics
|
||||
HEADLESS?: string;
|
||||
DISPLAY?: string;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export {};
|
||||
Reference in New Issue
Block a user