mirror of
https://github.com/mastermindzh/rickvanlieshout.com
synced 2024-12-27 07:18:17 +01:00
Fix broken tests.
This commit is contained in:
parent
1eadc1bc5d
commit
71a45ab084
@ -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/#');
|
||||||
});
|
});
|
Loading…
Reference in New Issue
Block a user