added karma test framework and network skeleton

This commit is contained in:
Manuel Araoz 2014-03-21 18:45:59 -03:00
commit 6f1b60e562
8 changed files with 144 additions and 2 deletions

21
test/test.network.js Normal file
View file

@ -0,0 +1,21 @@
'use strict';
var should = chai.should();
describe('Network service', function() {
var network;
beforeEach(angular.mock.module('cosign'));
it('should exist', function() {
inject(function($injector) {
network = $injector.get('network');
should.exist(network);
});
});
it('should return 2', function() {
network.f().should.equal(2);
});
it('should', function() {});
it('should', function() {});
});