在ionic/karma/jasmine测试中使用firebase

在ionic/karma/jasmine测试中使用firebase,firebase,Firebase,我试图在爱奥尼亚/茉莉花/卡玛/测试中进行基本的firebase集合调用,但我的集合从未运行过。。我的karma.conf文件中也包含了firebase和angularfire,有人能提供一些建议吗 beforeEach(function() { module('avocado.controllers'); module("firebase"); }); describe('controller v

我试图在爱奥尼亚/茉莉花/卡玛/测试中进行基本的firebase集合调用,但我的集合从未运行过。。我的karma.conf文件中也包含了firebase和angularfire,有人能提供一些建议吗

  beforeEach(function() {
                module('avocado.controllers');
                module("firebase");
            });

  describe('controller variables', function() {
            it('should contain the AvoDB service', function() {
                var AvoDB =  new Firebase("https://devdev.firebaseio.com/somechild");
                console.log('avodb', AvoDB);
                AvoDB.set('123456');
                expect(AvoDB).toBeDefined();
            })