import { render, screen } from '@tests/utils'; import DescriptionListItem from './description-list-item'; const itemLabel = 'Repellendus corporis facilis'; const itemValue = ['quos', 'eum']; describe('DescriptionListItem', () => { it('renders a couple of label', () => { render(); expect(screen.getByRole('term')).toHaveTextContent(itemLabel); }); it('renders the right number of values', () => { render(); expect(screen.getAllByRole('definition')).toHaveLength(itemValue.length); }); }); om Git repository'/>
summaryrefslogtreecommitdiffstats
blob: f3f26469581e94710e13a7d8ffb9b8643a8eae8c (plain)
1
2
3
4
5
6
7
8
.field {
  width: 100%;
}

.button {
  display: block;
  margin: auto;
}