During my tests, I encountered an issue with using external libraries. I have added all the necessary links in karma.conf.js and some libraries were included successfully. However, for certain libraries, Karma seems to set "undefined" instead of "this" when compiling them. This results in errors like the following:
https://i.sstatic.net/T2ydX.png
These errors are causing issues in my tests. Can anyone guide me on what I might be doing wrong and if it is possible to include such libraries successfully?