Skip to content

Commit dfbd183

Browse files
committed
test: update input test
1 parent fd31938 commit dfbd183

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

components/input/__tests__/index.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,12 @@ import Input from '..';
44
import Form from '../../form';
55
import focusTest from '../../../tests/shared/focusTest';
66

7-
const { TextArea } = Input;
7+
const { TextArea, Password } = Input;
88

99
describe('Input', () => {
1010
focusTest(Input);
11+
focusTest(TextArea);
12+
focusTest(Password);
1113

1214
it('should support maxLength', async () => {
1315
const wrapper = mount(Input, { attrs: { maxLength: 3 }, sync: false });

0 commit comments

Comments
 (0)