UNPKG

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