<commit_before>import React from 'react';
import ReactDOM from 'react-dom';
import TestUtils from 'react-addons-test-utils';
import Seed from '../src';

describe('Seed', () => {
  it('work', () => {
    const seed = TestUtils.renderIntoDocument(
      <Seed />
    );

    const seedNode = ReactDOM.findDOMNode(seed);
    expect(seedNode.className).toContain('zent-title');
  });
});<commit_msg>feat: review fix<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import TestUtils from 'react-addons-test-utils';
import { mount } from 'enzyme';
import Menu, { MenuItem, SubMenu } from '../src';

describe('Menu component', () => {
  it('menu className', () => {
    let wrapper = mount(
      <Menu className="hello">
        <MenuItem key="1-1" className="food">食品分类</MenuItem>
      </Menu>
    );

    expect(wrapper.find('.hello').length).toBe(1);
    expect(wrapper.find('.food').length).toBe(1);
  });
});

{'fraction_non_alphanumeric': 0.1873661670235546, 'fraction_numerical': 0.004282655246252677, 'mean_word_length': 3.8697916666666665, 'pattern_counts': {'":': 0, '<': 8, '<?xml version=': 0, '>': 12, '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': '4807584', 'n_tokens_mistral': 298, 'n_tokens_neox': 292, 'n_words': 65}