I have an angular app that I am testing with karma unit tests and I am attempting to add karma-browserify so that I can require npm modules in my unit tests.
Once I added the browserify preprocessor to my karma.conf.js config file my tests began to break, even though I have not even tried to require any modules yet.
I get the following error:
object is not a function
If I follow the trace I see that the line causing the error is in the browserify bundled js temp file on a call to 'module'