<commit_before>import React from 'react';
import TestRenderer from 'react-test-renderer';
import ObjectName from './ObjectName';

import chromeLight from '../styles/themes/chromeLight';
import makeTheme from '../styles/base';

const defaultTheme = makeTheme(chromeLight);

describe('ObjectName', () => {
  it('should render', () => {
    const tree = TestRenderer.create(<ObjectName name="testvalue" />);

    expect(tree).toMatchSnapshot();
  });

  it('should apply dimming if `dimmed` prop is true', () => {
    const tree = TestRenderer.create(<ObjectName name="testvalue" dimmed={true} />);

    expect(tree).toMatchSnapshot();
  });

  it('should not apply dimming if `dimmed` prop is false', () => {<commit_msg>Fix linting<commit_after>import React from 'react';
import TestRenderer from 'react-test-renderer';
import ObjectName from './ObjectName';

describe('ObjectName', () => {
  it('should render', () => {
    const tree = TestRenderer.create(<ObjectName name="testvalue" />);

    expect(tree).toMatchSnapshot();
  });

  it('should apply dimming if `dimmed` prop is true', () => {
    const tree = TestRenderer.create(<ObjectName name="testvalue" dimmed={true} />);

    expect(tree).toMatchSnapshot();
  });

  it('should not apply dimming if `dimmed` prop is false', () => {
{'fraction_non_alphanumeric': 0.1680867544539117, 'fraction_numerical': 0.0, 'mean_word_length': 4.691629955947136, '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': '5603994', 'n_tokens_mistral': 386, 'n_tokens_neox': 371, 'n_words': 98}