<commit_before>import Enzyme, {shallow, render, mount} from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import sinon from 'sinon';
import configureStore from 'redux-mock-store';

Enzyme.configure({adapter: new Adapter()});

// TODO: replace it with jest-localstorage-mock
const localStorageMock = {
  getItem: jest.fn(),
  setItem: jest.fn(),
  clear: jest.fn(),
};

const RunsDataWorkerMock = function() {
  this.onmessage = jest.fn();
  this.postMessage = jest.fn();
};

global.sinon = sinon;
global.shallow = shallow;
global.render = render;
global.mount = mount;
global.mockStore = configureStore();
global.localStorage = localStorageMock;
global.RunsDataWorkerMock = RunsDataWorkerMock;
<commit_msg>Remove unused mock method<commit_after>import Enzyme, {shallow, render, mount} from 'enzyme';
import Adapter from 'enzyme-adapter-react-16';
import sinon from 'sinon';
import configureStore from 'redux-mock-store';

Enzyme.configure({adapter: new Adapter()});

// TODO: replace it with jest-localstorage-mock
const localStorageMock = {
  getItem: jest.fn(),
  setItem: jest.fn(),
  clear: jest.fn(),
};

global.sinon = sinon;
global.shallow = shallow;
global.render = render;
global.mount = mount;
global.mockStore = configureStore();
global.localStorage = localStorageMock;

{'fraction_non_alphanumeric': 0.1369969040247678, 'fraction_numerical': 0.0030959752321981426, 'mean_word_length': 5.49748743718593, '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': '7536275', 'n_tokens_mistral': 415, 'n_tokens_neox': 404, 'n_words': 106}