Skip to content

Commit 143822d

Browse files
committed
unit: more tests for Form
1 parent 3d8f49e commit 143822d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/__tests__/FormField.spec.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -135,7 +135,7 @@ describe('FormField', () => {
135135

136136
it('renders object as FieldSet, passing all properties (With Errors)', () => {
137137
const onChange = jest.fn();
138-
const path = 'name';
138+
const path = '';
139139
const schema = {
140140
'type': 'object',
141141
'properties': {
@@ -149,7 +149,7 @@ describe('FormField', () => {
149149
},
150150
},
151151
};
152-
152+
153153
const data = {
154154
firstName: 'Bob',
155155
surname: 'Hope',

0 commit comments

Comments
 (0)