How to stub methods called inside mount hook · Issue #148 · vuejs/vue-test-utils

I'm running into an issue where I can't mock the method called in my mounted() hook and I'm assuming it has to do with the load order. const myMethod = sinon.stub(); wrapper.setMethods({ myMethod }...