These are chat archives for AngularClass/NG6-starter

Jul 2015
Jul 13 2015 03:59

Does anyone know how to load vendor angular libs in unit tests? I need to test controller methods that use angular-material service functions and cannot get these services to load in $inject. I have tried loading angular-material in karma.conf.js, importing in spec.bundle.js, and more but keep getting:

Unknown provider: $mdMediaProvider <- $mdMedia