我已经使用AngularFire2为我的Angular2 web应用程序创建了使用jasmine/karma的测试用例,但我收到了一个无法调试的奇怪错误。当我运行我的测试(检查应用程序组件是否存在)时,我得到以下错误
Failed: app.auth is not a function at new AngularFireAuth (http://localhost:/path/to/project/
我是angular的新手,我被困在实现google登录上。我已经创建了一个按钮,点击它不会将我重定向到谷歌登录页面,我得到了错误。我不知道是什么导致了这个错误。所以我要分享我的代码:import { AngularFireAuth} from 'angularfire2/auth/login.component.css']export class LoginComponent