<commit_before>/* @flow weak */
import React from 'react';
import {shallow} from 'enzyme';
import {expect} from 'chai';

import DemosPage from './demos_page.jsx';
import {List, ListItem} from 'material-ui/List';


describe('<DemosPage />', () => {
  it('renders', () => {
    const wrapper = shallow(<DemosPage />);
    expect(wrapper.find(List).length).to.equal(2);
    expect(wrapper.find(ListItem).length).to.equal(11);
  });
});<commit_msg>Add demos link to test<commit_after>/* @flow weak */
import React from 'react';
import {shallow} from 'enzyme';
import {expect} from 'chai';

import DemosPage from './demos_page.jsx';
import {List, ListItem} from 'material-ui/List';


describe('<DemosPage />', () => {
  it('renders', () => {
    const wrapper = shallow(<DemosPage />);
    expect(wrapper.find(List).length).to.equal(2);
    expect(wrapper.find(ListItem).length).to.equal(12);
  });
});
{'fraction_non_alphanumeric': 0.2028985507246377, 'fraction_numerical': 0.006688963210702341, 'mean_word_length': 4.577639751552795, 'pattern_counts': {'":': 0, '<': 7, '<?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': '4205470', 'n_tokens_mistral': 312, 'n_tokens_neox': 301, 'n_words': 66}