import { render, screen } from '@test-utils'; import TableOfContents from './table-of-contents'; describe('TableOfContents', () => { it('renders the ToC title', () => { const divEl = document.createElement('div'); render(); expect( screen.getByRole('heading', { level: 2, name: /Table of Contents/i }) ).toBeInTheDocument(); }); }); ppot.eu/www.armandphilippot.com' title='www.armandphilippot.com Git repository'/>
summaryrefslogtreecommitdiffstats
blob: 819474c41f2eaa295f51b764e18da5c571ea2e0c (plain)
1
2
3
4
5
6
7