Skip to content

Commit 026e609

Browse files
committed
test: test driven
1 parent 9a72b49 commit 026e609

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/dependencies.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -279,7 +279,7 @@ describe('Form.Dependencies', () => {
279279
<InfoField name="type">
280280
<Input />
281281
</InfoField>
282-
<InfoField name="name" rules={[{ required: type !== '1' }]}>
282+
<InfoField name="name" rules={[{ required: type !== '1' }]} dependencies={['type']}>
283283
<Input />
284284
</InfoField>
285285
</Form>

0 commit comments

Comments
 (0)