<commit_before>import React from 'react';

import { mount } from 'enzyme';

import Text from '../src/text';

describe('Text', () => {
  it('renders plain text', () => {
    const wrapper = mount(
      <Text data={'hey'} />,
    );

    expect(wrapper.html()).toEqual('<code><span><!-- react-text: 3 -->hey<!-- /react-text --></span></code>');

    const component = wrapper.instance();

    expect(component.shouldComponentUpdate()).toEqual(true);
  });
});
<commit_msg>chore(lint): Fix long line length<commit_after>import React from 'react';

import { mount } from 'enzyme';

import Text from '../src/text';

describe('Text', () => {
  it('renders plain text', () => {
    const wrapper = mount(
      <Text data={'hey'} />,
    );
    expect(wrapper.html())
      .toEqual('<code><span><!-- react-text: 3 -->hey<!-- /react-text --></span></code>');

    const component = wrapper.instance();

    expect(component.shouldComponentUpdate()).toEqual(true);
  });
});

{'fraction_non_alphanumeric': 0.2262396694214876, 'fraction_numerical': 0.002066115702479339, 'mean_word_length': 3.4246575342465753, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 21, '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': '2128433', 'n_tokens_mistral': 303, 'n_tokens_neox': 293, 'n_words': 67}