1 | import { ListInlineItem } from '..';
|
2 | import {
|
3 | testForChildrenInComponent,
|
4 | testForCustomClass,
|
5 | testForCustomTag,
|
6 | testForDefaultClass,
|
7 | } from '../testUtils';
|
8 |
|
9 | describe('ListInlineItem', () => {
|
10 | it('should render children', () => {
|
11 | testForChildrenInComponent(ListInlineItem);
|
12 | });
|
13 |
|
14 | it('should render with "list-inline-item" class', () => {
|
15 | testForDefaultClass(ListInlineItem, 'list-inline-item');
|
16 | });
|
17 |
|
18 | it('should render additional classes', () => {
|
19 | testForCustomClass(ListInlineItem);
|
20 | });
|
21 |
|
22 | it('should render custom tag', () => {
|
23 | testForCustomTag(ListInlineItem);
|
24 | });
|
25 | });
|