We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c66a961 commit 5868f31Copy full SHA for 5868f31
src/__tests__/Form.spec.tsx
@@ -3,7 +3,7 @@ import React from 'react';
3
import { mount } from 'enzyme';
4
5
// Internal
6
-import Form from '../Form';
+import Form from '..';
7
8
describe('Form', () => {
9
it('Mount the form with basic fields', () => {
@@ -40,14 +40,14 @@ describe('Form', () => {
40
const path = 'name';
41
const onChange = jest.fn(() => 'onChangeFunc');
42
const schema = {
43
- 'type': 'string',
+ 'type': 'integer',
44
'title': 'First Name',
45
};
46
47
const uiSchema = {
48
49
50
- const data = 1;
+ const data = 'hello';
51
52
// act
53
const wrapper = mount(
0 commit comments