title: expect(...).objectContaining is not a function in Jest
body: <p>I am using Jest and trying to compare if my body is being formatted into the structure of an object with <code>{cart_id: 'string', payment: 'string', site: 'string'}</code>, but when I do something like this:</p>
  
  <pre><code> test('paymentRequest should be formatted', () =&gt; {
      expect(paymentRequest(paymentBody)).objectContaining({
        cart_id: expect.any(String),
        payment: expect.any(String),
        site: expect.any(String)
      })
    })
  </code></pre>
  
  <p>I get the error above. I looked at the documentation and not really sure what toBeCalled with does like they have in their example here: <a href="https://facebook.github.io/jest/docs/en/expect.html#expectobjectcontainingobject" rel="noreferrer">https://facebook.github.io/jest/docs/en/expect.html#expectobjectcontainingobject</a></p>