UNPKG

483 BJavaScriptView Raw
1import { CardImgOverlay } from '..';
2import {
3 testForCustomClass,
4 testForCustomTag,
5 testForDefaultClass,
6} from '../testUtils';
7
8describe('CardImgOverlay', () => {
9 it('should render with "card-img-overlay" class', () => {
10 testForDefaultClass(CardImgOverlay, 'card-img-overlay');
11 });
12
13 it('should render additional classes', () => {
14 testForCustomClass(CardImgOverlay);
15 });
16
17 it('should render custom tag', () => {
18 testForCustomTag(CardImgOverlay);
19 });
20});