const Client = require('./src/http/client');
module.exports.handler = () => {
const client = new Client();
const locationId = client.getLocationId(123);
};
How can I test this module asserting that the client.getLocationId has been called with the 123 argument in Jasmine?
I know how to achieve that with Sinon, but I have no clue about Jasmine.