// add.js
const add = (a, b) => a +b;
How can I test the add function? I want to test add function logic. But I don't know how to test it. Because the function is not exported. I want this function to be called only on add.js.
Do I have to export this add function for testing with jest?