import * as React from 'react'; import { mountWithProvider as mount } from 'test/utils'; import { TextArea } from 'src/components/TextArea/TextArea'; import { isConformant } from 'test/specs/commonTests'; import * as faker from 'faker'; describe('TextArea', () => { isConformant(TextArea, { constructorName: 'TextArea', autoControlledProps: ['value'] }); describe('defaultValue', () => { test('sets "defaultValue" as initial "value"', () => { const value = faker.lorem.words(); const wrapper = mount(