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