<commit_before>import './__lib__/material-ui-mocks.jsx'
import React from 'react'
import renderer from 'react-test-renderer'
import RandomNumber from '../../../../../src/client/components/RandomNumber.jsx'
import DefaultMuiTheme from '../../../../../src/client/components/DefaultMuiTheme.jsx'

describe('Snapshot: components/RandomNumber.jsx', () => {
  const init = () => 0.123456789

  test('with default display function', () => {
    const tree = renderer.create(<RandomNumber init={init} />).toJSON()
    expect(tree).toMatchSnapshot()<commit_msg>Remove unused variable<commit_after>import './__lib__/material-ui-mocks.jsx'
import React from 'react'
import renderer from 'react-test-renderer'
import RandomNumber from '../../../../../src/client/components/RandomNumber.jsx'

describe('Snapshot: components/RandomNumber.jsx', () => {
  const init = () => 0.123456789

  test('with default display function', () => {
    const tree = renderer.create(<RandomNumber init={init} />).toJSON()
    expect(tree).toMatchSnapshot()
{'fraction_non_alphanumeric': 0.18226120857699804, 'fraction_numerical': 0.01949317738791423, 'mean_word_length': 4.186868686868687, 'pattern_counts': {'":': 0, '<': 5, '<?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': '3310321', 'n_tokens_mistral': 317, 'n_tokens_neox': 299, 'n_words': 63}