title: Jest createSpyObj
body: <p>With Chai, you can create a spy object as follows:</p>
  
  <pre><code>chai.spy.object([ 'push', 'pop' ]);
  </code></pre>
  
  <p>With jasmine, you can use:</p>
  
  <pre><code>jasmine.createSpyObj('tape', ['play', 'pause', 'stop', 'rewind']);
  </code></pre>
  
  <p>What's the Jest equivalent?</p>
  
  <p>Context: I am currently migrating a (typescript) Jasmine tests to (typescript) Jest. The migration guide is basically useless in this case: <a href="https://facebook.github.io/jest/docs/migration-guide.html" rel="noreferrer">https://facebook.github.io/jest/docs/migration-guide.html</a> As with any relatively new tech, there's nothing that can easily be found in the docs about this.</p>