add tests
This commit is contained in:
parent
a7d484c944
commit
16293b035d
1 changed files with 17 additions and 0 deletions
|
|
@ -181,3 +181,20 @@ describe("Unit: isMobile Service", function() {
|
||||||
isMobile.any().should.equal(true);
|
isMobile.any().should.equal(true);
|
||||||
}));
|
}));
|
||||||
});
|
});
|
||||||
|
describe("Unit: video service", function() {
|
||||||
|
beforeEach(angular.mock.module('copayApp.services'));
|
||||||
|
it('should contain a video service', inject(function(video) {
|
||||||
|
should.exist(video);
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
describe("Unit: uriHandler service", function() {
|
||||||
|
beforeEach(angular.mock.module('copayApp.services'));
|
||||||
|
it('should contain a uriHandler service', inject(function(uriHandler) {
|
||||||
|
should.exist(uriHandler);
|
||||||
|
}));
|
||||||
|
it('should register', inject(function(uriHandler) {
|
||||||
|
(function() {
|
||||||
|
uriHandler.register();
|
||||||
|
}).should.not.throw();
|
||||||
|
}));
|
||||||
|
});
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue