NODE_TEST_CONTEXT=value
如果 value
等于 'child'
,测试报告选项将被覆盖,测试输出将以 TAP 格式发送到标准输出。如果提供任何其他值,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.