标签: unit-testing testing jestjs axios nuxt.js
我想用Jest测试我的代码,当我在代码中调用函数时,在sourceBuffer.remove(sourceBuffer.buffered.start(0), sourceBuffer.buffered.end(0))中出现错误
sourceBuffer.remove(sourceBuffer.buffered.start(0), sourceBuffer.buffered.end(0))
this.$axios
如何用模拟或其他方式修复它?