mirror of https://github.com/BTCPrivate/copay.git
add tests
This commit is contained in:
parent
a7d484c944
commit
16293b035d
|
@ -181,3 +181,20 @@ describe("Unit: isMobile Service", function() {
|
|||
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…
Reference in New Issue