import * as React from 'react'; import * as ReactDOM from 'react-dom'; import test from 'ava'; import * as sinon from 'sinon'; import { shallow } from 'enzyme'; import Textarea from '../../../ts/views/inputs/textarea'; const handleChangeSpy = sinon.spy(); test('Textarea onChange doesnt get called if disabled, with correct classnames', (t) => { let value: string; const wrapper = shallow(