Currently, I am conducting a test on a JavaScript function that relies on functions from other JavaScript files.
In one of my external JS files, there is a function defined in the following manner:
functionname.functionextension = function () {.....}
While testing with Jasmine and trying to call functionname.functionextension, an error message occurs stating that functionname is not recognized. It seems like it's treating functionname as an object.
I am aware that renaming the function may resolve this issue, but unfortunately, I am unable to do so. Is there an alternative solution?
Many thanks