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