added karma test framework and network skeleton
This commit is contained in:
parent
37f8ab3ab4
commit
6f1b60e562
8 changed files with 144 additions and 2 deletions
21
test/test.network.js
Normal file
21
test/test.network.js
Normal 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() {});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue