Skip to main content

Interface: KnownEnvironmentVariables

Defined in: shared/utils/environment.ts:18

Documented environment variables with cross-layer significance.

Remarksโ€‹

This interface is intentionally conservative: it captures only the keys that influence architectural behaviour (logging, test modes, user-data routing) rather than attempting to mirror the entire process.env surface.

Propertiesโ€‹

CODECOV_TOKEN?โ€‹

readonly optional CODECOV_TOKEN: string

Defined in: shared/utils/environment.ts:20

Token used by coverage reporting tooling when present.


HEADLESS?โ€‹

readonly optional HEADLESS: string

Defined in: shared/utils/environment.ts:25

Signals headless test execution for Electron, used to avoid enabling remote debugging and similar dev-only features.


NODE_ENV?โ€‹

readonly optional NODE_ENV: "production" | "development" | "test"

Defined in: shared/utils/environment.ts:27

Standard Node.js environment discriminator.


PLAYWRIGHT_COVERAGE?โ€‹

readonly optional PLAYWRIGHT_COVERAGE: string

Defined in: shared/utils/environment.ts:29

Flag used to enable Playwright-specific coverage collection.


PLAYWRIGHT_TEST?โ€‹

readonly optional PLAYWRIGHT_TEST: string

Defined in: shared/utils/environment.ts:31

Flag injected by Playwright to signal automation mode in preload.


PLAYWRIGHT_USER_DATA_DIR?โ€‹

readonly optional PLAYWRIGHT_USER_DATA_DIR: string

Defined in: shared/utils/environment.ts:33

Optional override for Playwright-specific userData directory.


UPTIME_WATCHER_USER_DATA_DIR?โ€‹

readonly optional UPTIME_WATCHER_USER_DATA_DIR: string

Defined in: shared/utils/environment.ts:35

Optional override for Electron's userData directory.