<commit_before>import { FiltersActions } from './filters-actions';

describe('filters-actions', () => {
  let actions: FiltersActions;

  beforeEach(() => {
    actions = new FiltersActions();
  });

  describe('changeContrast()', () => {
    it('should create an action', () => {
      const value = 3;
      const type = 'contrast';
      let action = actions.changeContrast(value);

      console.info('------ Action ---------:', JSON.stringify(action));
      expect(action).toEqual({
        type: FiltersActions.CHANGE_CONTRAST,
        payload: { value, type }
      });
    });
  })
});<commit_msg>test: clean up<commit_after>import { FiltersActions } from './filters-actions';

describe('filters-actions', () => {
  let actions: FiltersActions;

  beforeEach(() => {
    actions = new FiltersActions();
  });

  describe('changeContrast()', () => {
    it('should create an action', () => {
      const value = 3;
      const type = 'contrast';
      let action = actions.changeContrast(value);
      
      expect(action).toEqual({
        type: FiltersActions.CHANGE_CONTRAST,
        payload: { value, type }
      });
    });
  })
});
{'fraction_non_alphanumeric': 0.18047079337401917, 'fraction_numerical': 0.0017436791630340018, 'mean_word_length': 2.776315789473684, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 11, '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': '956091', 'n_tokens_mistral': 345, 'n_tokens_neox': 330, 'n_words': 69}