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

13 lines
463 B
JavaScript

import { ModalBody } from '..';
import { testForCustomClass, testForCustomTag, testForDefaultClass } from '../testUtils';
describe('ModalBody', function () {
it('should render with "modal-body" class', function () {
testForDefaultClass(ModalBody, 'modal-body');
});
it('should render additional classes', function () {
testForCustomClass(ModalBody, {});
});
it('should render custom tag', function () {
testForCustomTag(ModalBody);
});
});