Karma-commonjs cannot find my top level node_modules

I am trying to use karma-commonjs but I cannot find it correctly. You can see that on this line , the modules look under ./node_modulesif your karma.conf.jspragma configuration is not there.

I can clearly say that my package is under ./node_modules. Does the karma file server from this directory work? How should the Karma browser-oriented test code include the npm module? Any help with this would be huge.

+4
source share

All Articles