reactstrap
Version:
React Bootstrap components
21 lines (17 loc) • 439 B
JavaScript
import { CardDeck } from '..';
import {
testForCustomClass,
testForCustomTag,
testForDefaultClass,
} from '../testUtils';
describe('CardDeck', () => {
it('should render with "card-deck" class', () => {
testForDefaultClass(CardDeck, 'card-deck');
});
it('should render additional classes', () => {
testForCustomClass(CardDeck);
});
it('should render custom tag', () => {
testForCustomTag(CardDeck);
});
});