title: How to mock a module that is required in another module with Jasmine
body: <pre><code>const Client = require('./src/http/client');
  
  module.exports.handler = () =&gt; {
      const client = new Client();
      const locationId = client.getLocationId(123);
  };
  </code></pre>
  
  <p>How can I test this module asserting that the <code>client.getLocationId</code> has been called with the <code>123</code> argument in Jasmine?</p>
  
  <p>I know how to achieve that with Sinon, but I have no clue about Jasmine.</p>