mirror of
https://github.com/bitwarden/jslib
synced 2025-12-20 18:23:52 +00:00
Removed testcase as 'bitwarden' is a valid hostname
This commit is contained in:
@@ -85,7 +85,6 @@ describe('Utils Service', () => {
|
|||||||
expect(Utils.getHostname(undefined)).toBeNull();
|
expect(Utils.getHostname(undefined)).toBeNull();
|
||||||
expect(Utils.getHostname(' ')).toBeNull();
|
expect(Utils.getHostname(' ')).toBeNull();
|
||||||
expect(Utils.getHostname('https://bit!:"_&ward.com')).toBeNull();
|
expect(Utils.getHostname('https://bit!:"_&ward.com')).toBeNull();
|
||||||
expect(Utils.getHostname('bitwarden')).toBeNull();
|
|
||||||
});
|
});
|
||||||
|
|
||||||
it('should handle valid urls', () => {
|
it('should handle valid urls', () => {
|
||||||
|
|||||||
Reference in New Issue
Block a user