<commit_before>/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
'use strict';

import React from 'react';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import { mountWithIntl, shallowWithIntl } from 'helpers/intl-enzyme-test-helper.js';
import configureStore from 'redux-mock-store';
import { Provider } from 'react-redux';
import ImportSlidesComponent from 'components//ImportSlidesComponent.js';

describe('ImportSlidesComponent', () => {
  let wrapper;
  const mockStore = configureStore();
  const store = mockStore({
    slides: []
  });

  beforeEach(() => {
    wrapper = mountWithIntl(
      <Provider store={store}>
        <ImportSlidesComponent
          slides={[]}
          goto={() => {}}
          onMouseEnter={() => {}}
          onMouseLeave={() => {}}
        />
      </Provider>
    );
  });

  it('should have its component name as default className for the containing div', () => {
    expect(wrapper.find('div.importslides-component')).to.have.length(1);
  });
});<commit_msg>Removes copy & paste code<commit_after>/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
'use strict';

import React from 'react';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import { mountWithIntl, shallowWithIntl } from 'helpers/intl-enzyme-test-helper.js';
import configureStore from 'redux-mock-store';
import { Provider } from 'react-redux';
import ImportSlidesComponent from 'components//ImportSlidesComponent.js';

describe('ImportSlidesComponent', () => {
  let wrapper;
  const mockStore = configureStore();
  const store = mockStore({
    slides: []
  });

  beforeEach(() => {
    wrapper = mountWithIntl(
      <Provider store={store}>
        <ImportSlidesComponent />
      </Provider>
    );
  });

  it('should have its component name as default className for the containing div', () => {
    expect(wrapper.find('div.importslides-component')).to.have.length(1);
  });
});
{'fraction_non_alphanumeric': 0.1556122448979592, 'fraction_numerical': 0.0020408163265306124, 'mean_word_length': 3.7712895377128954, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 18, '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': '7548633', 'n_tokens_mistral': 589, 'n_tokens_neox': 586, 'n_words': 137}