added tests for angular services
This commit is contained in:
parent
02af76cdb9
commit
09532f0aaa
3 changed files with 28 additions and 4 deletions
|
|
@ -3,4 +3,24 @@
|
|||
//
|
||||
describe("Unit: Testing Services", function() {
|
||||
|
||||
beforeEach(angular.mock.module('copay.socket'));
|
||||
|
||||
it('should contain a Socket service', inject(function(Socket) {
|
||||
expect(Socket).not.to.equal(null);
|
||||
}));
|
||||
|
||||
|
||||
beforeEach(angular.mock.module('copay.walletFactory'));
|
||||
|
||||
it('should contain a walletFactory service', inject(function(walletFactory) {
|
||||
expect(walletFactory).not.to.equal(null);
|
||||
}));
|
||||
|
||||
|
||||
beforeEach(angular.mock.module('copay.controllerUtils'));
|
||||
|
||||
it('should contain a controllerUtils service', inject(function(controllerUtils) {
|
||||
expect(controllerUtils).not.to.equal(null);
|
||||
}));
|
||||
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue