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

13 lines
489 B
JavaScript

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