<commit_before>import React from 'react';
import { mount } from 'enzyme';
import faker from 'faker';
import { reduxForm } from 'redux-form';
import configureStore from 'redux-mock-store';
import { Provider } from 'react-redux';
import sinon from 'sinon';

import DatePicker from '../../../src/components/common/DatePicker';

const mockStore = configureStore();

const state = {
	user: {
		email: faker.internet.email(),
		name: faker.name.findName()
	}
};

describe('DatePicker', () => {
	const label = faker.lorem.words();
	const name = faker.lorem.words();
	const Form = reduxForm({ form: 'foo' })(() => (
		<form>
			<DatePicker label={label} name={name} />
		</form>
	));<commit_msg>fix case of Datepicker reference in Datepicker spec<commit_after>import React from 'react';
import { mount } from 'enzyme';
import faker from 'faker';
import { reduxForm } from 'redux-form';
import configureStore from 'redux-mock-store';
import { Provider } from 'react-redux';
import sinon from 'sinon';

import DatePicker from '../../../src/components/common/Datepicker';

const mockStore = configureStore();

const state = {
	user: {
		email: faker.internet.email(),
		name: faker.name.findName()
	}
};

describe('DatePicker', () => {
	const label = faker.lorem.words();
	const name = faker.lorem.words();
	const Form = reduxForm({ form: 'foo' })(() => (
		<form>
			<DatePicker label={label} name={name} />
		</form>
	));
{'fraction_non_alphanumeric': 0.17422096317280453, 'fraction_numerical': 0.0, 'mean_word_length': 4.3522727272727275, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 13, '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': '415086', 'n_tokens_mistral': 484, 'n_tokens_neox': 467, 'n_words': 125}