import React from 'react'; import { mount } from 'enzyme'; import Input from '..'; import Form from '../../form'; const { TextArea } = Input; const delay = timeout => new Promise(resolve => setTimeout(resolve, timeout)); describe('TextArea', () => { it('should auto calculate height according to content length', async () => { const wrapper = mount(