npm i vue-test-utils --D. 緊接著我們就把測試的程式碼改成如下 import { shallow } from 'vue-test-utils' // 使用shallow可以只foucs在要測試的 ...
確定! 回上一頁