sureshchahal / angular2-adal

Angular 2 wrapper for adal.js
MIT License
41 stars 50 forks source link

How to get Karma/Jasmine to find the files? #52

Open brndoko opened 7 years ago

brndoko commented 7 years ago

I am using your package in my project, and it works fine with its normal setup. However, when I've attempted to do unit tests on it, I get:

404: /base/node_modules/ng2-adal/core.js

Do I need to do something in the karma.conf.js? Similar to what needs to be added in the systemjs.config.js? If so, how would I go about adding that?

I also have a StackOverflow question with more detailed info: https://stackoverflow.com/questions/44770590/karma-jasmine-unit-test-of-component-with-injected-service-in-angular