Test for a bare URL being invalid.
This commit is contained in:
parent
32aa02a8c2
commit
e6d438abf9
1 changed files with 7 additions and 0 deletions
|
|
@ -372,4 +372,11 @@ fdescribe('bitcoinUriService', function() {
|
|||
expect(parsed.isValid).toBe(false);
|
||||
});
|
||||
|
||||
it('URL only', function() {
|
||||
|
||||
var parsed = bitcoinUriService.parse('https://www.google.com');
|
||||
|
||||
expect(parsed.isValid).toBe(false);
|
||||
});
|
||||
|
||||
});
|
||||
Loading…
Add table
Add a link
Reference in a new issue