NODE_TEST_CONTEXT=value


如果 value 等于 'child',测试报告程序选项将被覆盖,测试输出将以 TAP 格式发送到标准输出(stdout)。如果提供了其他值,Node.js 不保证报告程序使用的格式或其稳定性。

【If value equals 'child', test reporter options will be overridden and test output will be sent to stdout in the TAP format. If any other value is provided, Node.js makes no guarantees about the reporter format used or its stability.】