来源:https://stackoverflow.com/questions/57907756/testing-for-a-function-method-call-on-click-event-inside-a-functional-component 标签 javascript unit-testing Vue.js vue-test-utils