@tapjs/core
Version:
pluggable core of node-tap
27 lines • 700 B
TypeScript
/**
* grab some basic process stuff safely at startup
*
* @module
*/
/**
* A reference to the global `process` object, if available
*/
export declare const proc: NodeJS.Process | undefined;
/**
* A reference to `process.argv`, if available
*/
export declare const argv: string[];
/**
* A reference to `process.cwd()`, if available. Note that this is not
* updated if `process.chdir()` is called.
*/
export declare const cwd: string;
/**
* Relativized argv, for use in snapshot filenames and test.fullname
*/
export declare const argvRelative: string[];
/**
* A reference to `process.env`, if available.
*/
export declare const env: NodeJS.ProcessEnv;
//# sourceMappingURL=proc.d.ts.map