Need to stub '$refs.Email.$el.focus()' in vue test

后端 未结 0 1911
鱼传尺愫
鱼传尺愫 2020-12-15 13:16
mounted () {
    //some code
    this.$refs.Email.$el.focus()
}

I am using mocha-webpack test runner. Need to mock/stub this.$refs.Email.$el.focus()

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