Jest: TypeError: replaceAll is not a function

前端 未结 0 1226
栀梦
栀梦 2020-12-15 03:05

String.prototype.replaceAll() is a useful method and while building and executing everything works fine. However, all Jest-tests fail with the following error:



        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题