<commit_before>var _ = require('underscore');

jest.dontMock('../../constants/ActionTypes');
jest.dontMock('../AppDispatcher');
jest.dontMock('../../config/Config');
jest.dontMock('../MesosSummaryActions');
jest.dontMock('../../utils/RequestUtil');
jest.dontMock('../../constants/TimeScales');

jest.setMock('react-router', {
  HashLocation: {
    getCurrentPath: function () { return '/foo'; },
    addChangeListener: function () {}
  }
});

import {Hooks} from 'PluginSDK';
import PluginTestUtils from 'PluginTestUtils';

PluginTestUtils.loadPluginsByName({
  tracking: {enabled: true}
});

var ActionTypes = require('../../constants/ActionTypes');
var AppDispatcher = require('../AppDispatcher');
var Config = require('../../config/Config');
var MesosSummaryActions = require('../MesosSummaryActions');
var RequestUtil = require('../../utils/RequestUtil');
var TimeScales = require('../../constants/TimeScales');

global.analytics = {
  initialized: true,
  track: _.noop,<commit_msg>Fixing lint errors on __tests__<commit_after>var _ = require('underscore');

jest.dontMock('../../constants/ActionTypes');
jest.dontMock('../AppDispatcher');
jest.dontMock('../../config/Config');
jest.dontMock('../MesosSummaryActions');
jest.dontMock('../../utils/RequestUtil');
jest.dontMock('../../constants/TimeScales');

jest.setMock('react-router', {
  HashLocation: {
    getCurrentPath: function () { return '/foo'; },
    addChangeListener: function () {}
  }
});

import PluginTestUtils from 'PluginTestUtils';

PluginTestUtils.loadPluginsByName({
  tracking: {enabled: true}
});

var AppDispatcher = require('../AppDispatcher');
var Config = require('../../config/Config');
var MesosSummaryActions = require('../MesosSummaryActions');
var RequestUtil = require('../../utils/RequestUtil');
var TimeScales = require('../../constants/TimeScales');

global.analytics = {
  initialized: true,
  track: _.noop,
{'fraction_non_alphanumeric': 0.2041031036296686, 'fraction_numerical': 0.0, 'mean_word_length': 4.627218934911243, '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': '130468', 'n_tokens_mistral': 584, 'n_tokens_neox': 567, 'n_words': 98}