0👍
✅
One solution is to set a no-op app.config.errorHandler
via the global.config
mounting option:
const wrapper = mount(Child, {
global: {
config: {
errorHandler(err) { /* ignore */ },
},
},
})
Source:stackexchange.com