import { render, screen } from '@test-utils'; import Toolbar from './toolbar'; const nav = [ { id: 'home-link', href: '/', label: 'Home' }, { id: 'blog-link', href: '/blog', label: 'Blog' }, { id: 'cv-link', href: '/cv', label: 'CV' }, { id: 'contact-link', href: '/contact', label: 'Contact' }, ]; describe('Toolbar', () => { it('renders a navigation menu', () => { render(); expect(screen.getByRole('navigation')).toBeInTheDocument(); }); }); ref='git://git.armand.philippot.euwww.armandphilippot.com' title='www.armandphilippot.com Git repository'/>
summaryrefslogtreecommitdiffstats
blob: 3e5a0a0a8eb506773fa21a0a7fd46a4c0ef5be89 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19