<commit_before>'use strict';
/*global describe, it, jest, expect*/

jest.dontMock('../AutosizeInput');

var React = require('react/addons');
var AutosizeInput = require('../AutosizeInput');
var TestUtils = React.addons.TestUtils;

describe('AutosizeInput test', function() {

	var options = [
		{ value: 'one', label: 'One' },
		{ value: 'two', label: 'Two' }
	];

	function logChange(val) {
		console.log('Selected: ' + val);
	}

	// Render an instance of the component
	var instance = TestUtils.renderIntoDocument(
		<AutosizeInput onChange={logChange} value="test" className="testClass" />
	);

	var inputElement = TestUtils.findRenderedDOMComponentWithTag(instance, 'input');

	it('should assign the given className', function() {
		expect(selectInputElement.getDOMNode().className).toEqual('testClass');
	});

});
<commit_msg>Fixing errors w/ tests<commit_after>'use strict';
/*global describe, it, jest, expect*/

jest.dontMock('../AutosizeInput');

var React = require('react/addons');
var AutosizeInput = require('../AutosizeInput');
var TestUtils = React.addons.TestUtils;

describe('AutosizeInput test', function() {

	function logChange(val) {
		console.log('Selected: ' + val);
	}

	// Render an instance of the component
	var instance = TestUtils.renderIntoDocument(
		<AutosizeInput onChange={logChange} value="test" className="testClass" />
	);

	var inputElement = TestUtils.findRenderedDOMComponentWithTag(instance, 'input');

	it('should assign the given className', function() {
		expect(inputElement.getDOMNode().className).toEqual('testClass');
	});

});

{'fraction_non_alphanumeric': 0.15862944162436549, 'fraction_numerical': 0.0, 'mean_word_length': 5.489711934156379, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2473913', 'n_tokens_mistral': 503, 'n_tokens_neox': 487, 'n_words': 109}