Files
cartlog-admin/node_modules/reactstrap/esm/__tests__/NavbarText.spec.js
2026-01-01 15:25:19 +05:30

16 lines
585 B
JavaScript

import { NavbarText } from '..';
import { testForDefaultClass, testForCustomTag, testForChildrenInComponent, testForCustomClass } from '../testUtils';
describe('NavbarText', function () {
it('should render .navbar-text markup', function () {
testForDefaultClass(NavbarText, 'navbar-text');
});
it('should render custom tag', function () {
testForCustomTag(NavbarText);
});
it('should render children', function () {
testForChildrenInComponent(NavbarText);
});
it('should pass additional classNames', function () {
testForCustomClass(NavbarText);
});
});