1 | import { ButtonToolbar } from '..';
|
2 | import {
|
3 | testForChildrenInComponent,
|
4 | testForCustomTag,
|
5 | testForDefaultClass,
|
6 | } from '../testUtils';
|
7 |
|
8 | describe('ButtonToolbar', () => {
|
9 | it('should render children', () => {
|
10 | testForChildrenInComponent(ButtonToolbar);
|
11 | });
|
12 |
|
13 | it('should render with the "btn-toolbar" class', () => {
|
14 | testForDefaultClass(ButtonToolbar, 'btn-toolbar');
|
15 | });
|
16 |
|
17 | it('should render custom tag', () => {
|
18 | testForCustomTag(ButtonToolbar);
|
19 | });
|
20 | });
|