1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-18 01:03:35 +00:00

fix karma tests

This commit is contained in:
Kyle Spearrin
2018-04-14 10:01:31 -04:00
parent 809f9b9cde
commit 9b103f1ff0
2 changed files with 6 additions and 3 deletions

View File

@@ -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');