我正在尝试在离子/茉莉/业力/测试中进行基本的火力基础集调用,但我的集合永远不会运行。 ..我还在我的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();
})