UNPKG

517 BJavaScriptView Raw
1import { Form } from '..';
2import {
3 testForChildrenInComponent,
4 testForCustomClass,
5 testForCustomTag,
6 testForDefaultTag,
7} from '../testUtils';
8
9describe('Form', () => {
10 it('should render with "form" tag', () => {
11 testForDefaultTag(Form, 'form');
12 });
13
14 it('should render children', () => {
15 testForChildrenInComponent(Form);
16 });
17
18 it('should render additional classes', () => {
19 testForCustomClass(Form);
20 });
21
22 it('should render custom tag', () => {
23 testForCustomTag(Form);
24 });
25});