<commit_before>import React from 'react'; // eslint-disable-line no-unused-vars
import { shallow } from 'enzyme';
import moment from 'moment';

import { getNewDateStateChange } from '../Calendar';

import Calendar from '../Calendar';

describe('Calendar', () => {
  let wrapper;

  beforeEach(() => {
    const theme = {
      Colors: {},
      Fonts: {},
      FontSizes: {},
      Spacing: {}
    };

    const mockCallback = jest.fn();

    wrapper = shallow(
      <Calendar<commit_msg>Use mount to actually render the component and fix the failing tests<commit_after>import React from 'react'; // eslint-disable-line no-unused-vars
import { mount } from 'enzyme';
import moment from 'moment';

import { getNewDateStateChange } from '../Calendar';

import Calendar from '../Calendar';

describe('Calendar', () => {
  let wrapper;

  beforeEach(() => {
    const theme = {
      Colors: {},
      Fonts: {},
      FontSizes: {},
      Spacing: {}
    };

    const mockCallback = jest.fn();

    wrapper = mount(
      <Calendar
{'fraction_non_alphanumeric': 0.14936954413191075, 'fraction_numerical': 0.0, 'mean_word_length': 2.9389312977099236, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '2481562', 'n_tokens_mistral': 300, 'n_tokens_neox': 291, 'n_words': 86}