process.report.directory


写入报告的目录。 默认值为空字符串,表示将报告写入 Node.js 进程的当前工作目录。

console.log(`Report directory is ${process.report.directory}`);

Directory where the report is written. The default value is the empty string, indicating that reports are written to the current working directory of the Node.js process.

console.log(`Report directory is ${process.report.directory}`);