<commit_before>/**
 * Headline tests
 */

import React from 'react';
import { describe, beforeEach, it } from '@bigtest/mocha';
import { expect } from 'chai';
import { mount } from '../../../tests/helpers';
import Headline from '../Headline';
import HeadlineInteractor, { sizes } from './interactor';

describe.only('Headline', () => {
  const headline = new HeadlineInteractor();

  beforeEach(async () => {
    await mount(
      <Headline
        flex
        block
        faded
        tag="h1"
        className="my-custom-class"
      >
        My label
      </Headline>
    );
  });

  it('renders passed children', () => {
    expect(headline.label).to.equal('My label');
  });

  it('has a custom class name', () => {
    expect(headline.class).to.include('my-custom-class');
  });<commit_msg>Remove 'only' from Headline tests<commit_after>/**
 * Headline tests
 */

import React from 'react';
import { describe, beforeEach, it } from '@bigtest/mocha';
import { expect } from 'chai';
import { mount } from '../../../tests/helpers';
import Headline from '../Headline';
import HeadlineInteractor, { sizes } from './interactor';

describe('Headline', () => {
  const headline = new HeadlineInteractor();

  beforeEach(async () => {
    await mount(
      <Headline
        flex
        block
        faded
        tag="h1"
        className="my-custom-class"
      >
        My label
      </Headline>
    );
  });

  it('renders passed children', () => {
    expect(headline.label).to.equal('My label');
  });

  it('has a custom class name', () => {
    expect(headline.class).to.include('my-custom-class');
  });
{'fraction_non_alphanumeric': 0.17313616759088107, 'fraction_numerical': 0.0012322858903265558, 'mean_word_length': 2.690909090909091, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 15, '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': '911474', 'n_tokens_mistral': 500, 'n_tokens_neox': 495, 'n_words': 120}