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