Describe the bug
AngularFireAuth causes Karma unit tests to fail.
To Reproduce
Steps to reproduce the behaviour:
run: ng test
Expected behaviour
Pass all tests.
Desktop (please complete the following information):
Browser: Chrome
Angular CLI: 8.0.0
Node: 10.15.3
OS: win32 x64
Angular: 8.0.0
Additional context
NullInjectorError: StaticInjectorError(DynamicTestModule)[AngularFireAuth]:
StaticInjectorError(Platform: core)[AngularFireAuth]:
NullInjectorError: No provider for AngularFireAuth!
error properties: Object({ ngTempTokenPath: null, ngTokenPath: [ Function ] })
at <Jasmine>
at NullInjector.push../node_modules/@angular/core/fesm5/core.js.NullInjector.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1225:1)
at resolveToken (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1463:1)
at tryResolveToken (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1407:1)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1311:1)
at resolveToken (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1463:1)
at tryResolveToken (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1407:1)
at StaticInjector.push../node_modules/@angular/core/fesm5/core.js.StaticInjector.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:1311:1)
at resolveNgModuleDep (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:18446:1)
at NgModuleRef_.push../node_modules/@angular/core/fesm5/core.js.NgModuleRef_.get (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:19135:1)
at injectInjectorOnly (http://localhost:9876/_karma_webpack_/webpack:/node_modules/@angular/core/fesm5/core.js:510:1)
Describe the bug AngularFireAuth causes Karma unit tests to fail.
To Reproduce Steps to reproduce the behaviour:
ng test
Expected behaviour Pass all tests.
Desktop (please complete the following information):
Additional context