재스트를 사용하여 Vue.js 컴포넌트의 메서드를 유닛 테스트하는 방법 구성 요소 방법을 테스트하려고 합니다.여기서의 질문에서는 유닛 테스트에서 컴포넌트 방법에 액세스하는 방법은 설명되지 않습니다. 구체적으로는 아래의 Vue 컴포넌트를 사용하여doSomeWork()내 유닛 테스트에서? Vue 컴포넌트: Some other stuff is going on here 테스트 코드: import {createLocalVue, shallow} from 'vue-test-utils' import ThisVueFile.test.js from '../../thisPlace/ThatPlace/ThisVueFile.vue' import Vuex from 'vuex' const localVue = createLocalVue..