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

// Uncomment the following lines to use the react test utilities
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';

import ProgressBarComponent from 'components//ProgressBarComponent.js';

describe('ProgressBarComponent', () => {
  let component;

  beforeEach(() => {
    component = createComponent(ProgressBarComponent, Object.assign({},
      {
        isPlaying: true
      })
    )
  });

  it('should have its component name as default className', () => {
    expect(component.props.className).to.equal('progressbar-component');
  });
});<commit_msg>Adjusts unit test for progress bar component<commit_after>/*eslint-env node, mocha */
/*global expect */
/*eslint no-console: 0*/
'use strict';

// Uncomment the following lines to use the react test utilities
// import TestUtils from 'react-addons-test-utils';
import createComponent from 'helpers/shallowRenderHelper';
import getMuiTheme from 'material-ui/styles/getMuiTheme';
import React from 'react';
import { shallow } from 'enzyme';

import ProgressBarComponent from 'components//ProgressBarComponent.js';

describe.only('ProgressBarComponent', () => {
  const muiTheme = getMuiTheme();

  let component;

  beforeEach(() => {

    component = shallow(
      <ProgressBarComponent
        isPlaying={true}
      />,
      {context: {muiTheme}}
    )
  });

  it('should have its component name as default className', () => {
    expect(component.prop('className')).to.equal('progressbar-component');
  });
});
{'fraction_non_alphanumeric': 0.13814180929095354, 'fraction_numerical': 0.0012224938875305623, 'mean_word_length': 4.147798742138365, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 10, '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': '923263', 'n_tokens_mistral': 465, 'n_tokens_neox': 452, 'n_words': 122}