Here is an example on how to mock a function that is being called from outside the test file.
math.js
export const add = (a, b) =>