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

13 lines
496 B
JavaScript

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