我通过console.log()内部(实际上是loglevel)完成了一些 NodeJS 日志记录,正如我所见,Jest 标记 console.log 输出console.log ../path/to/string/with/console.log/call:line#无论出于何种原因:
console.log()
console.log ../path/to/string/with/console.log/call:line#
我在文档中没有找到任何相关选项。我怎样才能禁用它?
node.js jestjs
jestjs ×1
node.js ×1