我已经使用AngularFire2为我的Angular2 web应用程序创建了使用jasmine/karma的测试用例,但我收到了一个无法调试的奇怪错误。当我运行我的测试(检查应用程序组件是否存在)时,我得到以下错误
Failed: app.auth is not a function at new AngularFireAuth (http://localhost:9876/_karma_webpack_/webpac
我正在尝试对我的angular2应用程序进行单元测试。简单的测试通过,但当我打开开发人员工具时,我仍然得到一个错误'Uncaught : require is not defined‘testing.ts.9:。我应该如何加载库?/node_modules/jasmine-core/lib/jasmine-core/jasmine.css">
<script src=".