title: Reset Vue for every jest test?
body: <p>I am using Vue JS with @vue/test-utils and jest. For my tests I am calling:</p>
  
  <pre><code>let localVue = createLocalVue();
  vueMount(MyComponent, { localVue: localVue, options });
  </code></pre>
  
  <p>The problem is, I am referencing libraries which does stuff like this:</p>
  
  <pre><code>import Vue from 'vue'
  import Msal from 'vue-msal'
  //...
  Vue.use(Msal, {...});
  </code></pre>
  
  <p>The Vue.use() registers some global stuff on the prototype, etc. For testing purposes, I need this to start fresh each test. The only thing I could think of is to use mockImplementation() with jest on the Vue object. But I am not quite sure how I could accomplish that, if at all possible.</p>
  
  <p>Is there any way to do this? Thanks!</p>