These are chat archives for AngularClass/NG6-starter

13th
Jul 2015
AlexKrautmann
@Alex-Krautmann
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