在离子/业力/茉莉花测试中使用firebase

时间:2016-05-17 23:00:38

标签: 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();
            })

0 个答案:

没有答案