<commit_before>import * as actions from '../src/redux/actionCreators';
import * as types from '../src/redux/action-types';
import running from '../src/redux/reducer';

fdescribe('The action creator', function() {
  it('run should return return a object w/action.payload === true', function() {
    var expectedAction = {
      type: types.RUNNING,
      payload: true
    };
    expect(actions.run()).toEqual(expectedAction);
  });
  it('run should return return a object w/action.payload === false', function() {
    var expectedAction = {
      type: types.RUNNING,
      payload: false
    };
    expect(actions.stop()).toEqual(expectedAction);
  });
});

fdescribe('The reducer', function() {
  it('should return the initial state', function() {
    expect(running(undefined, {})).toEqual({running: false});
  });
  it('should handle RUNNING', function() {
    expect(running(undefined, actions.run())).toEqual({running: true});
    expect(running({running: true}, actions.stop())).toEqual({running: false});
  });
});
<commit_msg>got rid of f's prefixing describes in unit tests<commit_after>import * as actions from '../src/redux/actionCreators';
import * as types from '../src/redux/action-types';
import running from '../src/redux/reducer';

describe('The action creator', function() {
  it('run should return return a object w/action.payload === true', function() {
    var expectedAction = {
      type: types.RUNNING,
      payload: true
    };
    expect(actions.run()).toEqual(expectedAction);
  });
  it('run should return return a object w/action.payload === false', function() {
    var expectedAction = {
      type: types.RUNNING,
      payload: false
    };
    expect(actions.stop()).toEqual(expectedAction);
  });
});


describe('The reducer', function() {
  it('should return the initial state', function() {
    expect(running(undefined, {})).toEqual({running: false});
  });
  it('should handle RUNNING', function() {
    expect(running(undefined, actions.run())).toEqual({running: true});
    expect(running({running: true}, actions.stop())).toEqual({running: false});
  });
});

{'fraction_non_alphanumeric': 0.17252851711026615, 'fraction_numerical': 0.0, 'mean_word_length': 4.035885167464115, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '6229957', 'n_tokens_mistral': 597, 'n_tokens_neox': 606, 'n_words': 154}