title: Difference between unmock and dontMock in Jest
body: <p>So I've been writing a successful unit test library and all seems well. And then I noticed in some online examples that where I do this:-</p>
  
  <p><code>jest.unmock('../lib/q');</code></p>
  
  <p>Others do this:-</p>
  
  <p><code>jest.dontMock('../lib/q');</code></p>
  
  <p>I can't find any documentation on the Jest site (the documentation isn't great let's be honest), so I changed one of my suites for a giggle to <code>dontMock</code> and quite a lot exploded ... What's the difference?</p>