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

13 lines
491 B
JavaScript

import { ButtonToolbar } from '..';
import { testForChildrenInComponent, testForCustomTag, testForDefaultClass } from '../testUtils';
describe('ButtonToolbar', function () {
it('should render children', function () {
testForChildrenInComponent(ButtonToolbar);
});
it('should render with the "btn-toolbar" class', function () {
testForDefaultClass(ButtonToolbar, 'btn-toolbar');
});
it('should render custom tag', function () {
testForCustomTag(ButtonToolbar);
});
});