【问题标题】:Unable to process function body node type: ArrowFunctionExpression无法处理函数体节点类型:ArrowFunctionExpression
【发布时间】:2018-05-23 05:44:08
【问题描述】:

我用 Jest 运行测试。测试通过但它显示这一行:

Unable to process function body node type: ArrowFunctionExpression

它为什么存在以及如何删除它?

谢谢

【问题讨论】:

    标签: babeljs jestjs istanbul


    【解决方案1】:

    这看起来像是 babel@7 和 istanbul-lib-instrument https://github.com/istanbuljs/istanbuljs/issues/119 之间的兼容性问题

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 2023-04-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2020-04-19
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多