import { render, screen } from '@tests/utils'; import SocialLink from './social-link'; /** * Next.js mock images to use next/image component. So for now, I need to mock * the svg files manually. */ jest.mock('@assets/images/social-media/github.svg', () => 'svg-file'); jest.mock('@assets/images/social-media/gitlab.svg', () => 'svg-file'); jest.mock('@assets/images/social-media/linkedin.svg', () => 'svg-file'); jest.mock('@assets/images/social-media/twitter.svg', () => 'svg-file'); describe('SocialLink', () => { it('render a social link', () => { render(); expect(screen.getByRole('link')).toHaveAccessibleName('Github'); }); }); /'>cgit logo index : www.armandphilippot.com
The frontend of my personal website.Armand Philippot
summaryrefslogtreecommitdiffstats
path: root/public/prism/prism-jexl.min.js
blob: 6740b7cd0df09034b534ba5f80f89bb667e251aa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16