1 | import { NavbarText } from '..';
|
2 | import {
|
3 | testForDefaultClass,
|
4 | testForCustomTag,
|
5 | testForChildrenInComponent,
|
6 | testForCustomClass,
|
7 | } from '../testUtils';
|
8 |
|
9 | describe('NavbarText', () => {
|
10 | it('should render .navbar-text markup', () => {
|
11 | testForDefaultClass(NavbarText, 'navbar-text');
|
12 | });
|
13 |
|
14 | it('should render custom tag', () => {
|
15 | testForCustomTag(NavbarText);
|
16 | });
|
17 |
|
18 | it('should render children', () => {
|
19 | testForChildrenInComponent(NavbarText);
|
20 | });
|
21 |
|
22 | it('should pass additional classNames', () => {
|
23 | testForCustomClass(NavbarText);
|
24 | });
|
25 | });
|