title: How to disable the "Global error handler detected" warning in vue test utils
body: <p>I'm creating async tests using <code>vue-test-utils</code> and <code>jest</code> using the approach described here: </p>
  
  <p><a href="https://vue-test-utils.vuejs.org/guides/#what-about-nexttick" rel="nofollow noreferrer">https://vue-test-utils.vuejs.org/guides/#what-about-nexttick</a></p>
  
  <p>where you set <code>Vue.config.errorHandler = done</code> like shown below</p>
  
  <pre><code>  test('Then we are shown events in EventCreate component', done =&gt; {
      Vue.config.errorHandler = done
  </code></pre>
  
  <p>This is working and when an error is thrown in a promise handler in a component my tests will fail. However I'm getting this warning.</p>
  
  <pre><code>    console.error node_modules/@vue/test-utils/dist/vue-test-utils.js:1421
        [vue-test-utils]: Global error handler detected (Vue.config.errorHandler). 
        Vue Test Utils sets a custom error handler to throw errors thrown by instances. If you want this behavior in your tests, you must remove the global error handler.
  </code></pre>
  
  <p>I don't want to spam my test output with this warning. Is there a way to disable it?</p>