{"size": 680, "ext": "js", "max_stars_repo_path": "test/components/SelectLanguageOptions.test.js", "max_stars_repo_name": "GuilhermeCampano/fluany", "max_stars_repo_stars_event_min_datetime": "2019-02-03T03:56:32.000Z", "max_stars_repo_stars_event_max_datetime": "2019-02-03T03:56:32.000Z", "max_issues_repo_path": "test/components/SelectLanguageOptions.test.js", "max_issues_repo_name": "GuilhermeCampano/fluany", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test/components/SelectLanguageOptions.test.js", "max_forks_repo_name": "GuilhermeCampano/fluany", "max_forks_repo_forks_event_min_datetime": "2021-01-18T22:23:32.000Z", "max_forks_repo_forks_event_max_datetime": "2021-01-18T22:23:32.000Z"}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 34.0, "max_line_length": 107, "alphanum_fraction": 0.6602941176}
import React from 'react';
import SelectLanguageOptions from '../../src/popup/components/SelectLanguageOptions/SelectLanguageOptions';

describe('SelectLanguageOptions', () => {
    const wrapper = shallow(<SelectLanguageOptions />);
    const select = mount(<SelectLanguageOptions/>);

    it('should have Dropdown component', () => {
        expect(wrapper.find('Dropdown')).to.have.length(1);
    });

    it('should have ButtonStart component', () => {
        expect(wrapper.find('ButtonStart')).to.have.length(1);
    });

    it('should render dropdown-control in Dropdown component', () => {
        expect(select.find('.Dropdown-control')).to.have.length(1);
    });
});
