mirror of
https://github.com/bitwarden/browser
synced 2025-12-18 01:03:35 +00:00
fix karma tests
This commit is contained in:
@@ -11,6 +11,7 @@ describe('Utils Service', () => {
|
||||
});
|
||||
|
||||
it('should handle valid urls', () => {
|
||||
expect(UtilsService.getHostname('bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(UtilsService.getHostname('https://bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(UtilsService.getHostname('http://bitwarden.com')).toBe('bitwarden.com');
|
||||
expect(UtilsService.getHostname('http://vault.bitwarden.com')).toBe('vault.bitwarden.com');
|
||||
|
||||
Reference in New Issue
Block a user