Fix broken tests.

This commit is contained in:
Aleksander Helgaker 2019-08-24 10:12:30 +02:00
parent 1eadc1bc5d
commit 71a45ab084

View File

@ -8,10 +8,10 @@ test('getContactHref', () => {
expect(getContactHref('vkontakte', '#')).toBe('https://vk.com/#'); expect(getContactHref('vkontakte', '#')).toBe('https://vk.com/#');
expect(getContactHref('telegram', '#')).toBe('https://t.me/#'); expect(getContactHref('telegram', '#')).toBe('https://t.me/#');
expect(getContactHref('rss', '#')).toBe('#'); expect(getContactHref('rss', '#')).toBe('#');
expect(getContactHref('linkedin', '#')).toBe('#'); expect(getContactHref('linkedin', '#')).toBe('https://www.linkedin.com/in/#');
expect(getContactHref('instagram', '#')).toBe('#'); expect(getContactHref('instagram', '#')).toBe('https://www.instagram.com/#');
expect(getContactHref('line', '#')).toBe('#'); expect(getContactHref('line', '#')).toBe('line://ti/p/#');
expect(getContactHref('facebook', '#')).toBe('#'); expect(getContactHref('facebook', '#')).toBe('https://www.facebook.com/#');
expect(getContactHref('gitlab', '#')).toBe('#'); expect(getContactHref('gitlab', '#')).toBe('https://www.gitlab.com/#');
expect(getContactHref('weibo', '#')).toBe('#'); expect(getContactHref('weibo', '#')).toBe('https://www.weibo.com/#');
}); });