<commit_before>import React from 'react';
import Jest from 'jest';
import { shallow, mount } from 'enzyme';

import Forecast from '../lib/components/Forecast';
import DayWeather from '../lib/components/DayWeather.js';

import stubAPI from './stubAPI.json';
import objectCleanerForecast from '../lib/helpers/objectCleanerForecast';
require('locus');

describe('Forecast', () => {
  it('should render ten <scroll-item/> ', () => {
    const cleanAPI = objectCleanerForecast(stubAPI);

    const forecast = shallow(<DayWeather weather = {cleanAPI} />);

    const dayWeatherCount = forecast.find('.scroll-item');
    expect(dayWeatherCount).toHaveLength(40);
   });
});
<commit_msg>Remove stray locus<commit_after>import React from 'react';
import Jest from 'jest';
import { shallow, mount } from 'enzyme';
import Forecast from '../lib/components/Forecast';
import DayWeather from '../lib/components/DayWeather.js';

import stubAPI from './stubAPI.json';
import objectCleanerForecast from '../lib/helpers/objectCleanerForecast';

describe('Forecast', () => {
  it('should render ten <scroll-item/> ', () => {
    const cleanAPI = objectCleanerForecast(stubAPI);

    const forecast = shallow(<DayWeather weather = {cleanAPI} />);

    const dayWeatherCount = forecast.find('.scroll-item');
    expect(dayWeatherCount).toHaveLength(40);
   });
});

{'fraction_non_alphanumeric': 0.15699404761904762, 'fraction_numerical': 0.002976190476190476, 'mean_word_length': 4.822510822510822, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5072181', 'n_tokens_mistral': 406, 'n_tokens_neox': 395, 'n_words': 95}