[Vuejs]-How to deal with a warning message about prop being mutated when testing Vue.js (^2.5.*) component

3👍

When mounting a component to be tested, to prevent the error message from being shown in the console, pass the sync option to false to the mount function. See also https://vue-test-utils.vuejs.org/api/options.html#sync

Leave a comment