{"size": 534, "ext": "js", "max_stars_repo_path": "src/__tests__/components/modals/Confirmation.test.js", "max_stars_repo_name": "TKOaly/rv-app-frontend", "max_stars_repo_stars_event_min_datetime": "2020-03-27T16:35:14.000Z", "max_stars_repo_stars_event_max_datetime": "2020-03-27T16:35:14.000Z", "max_issues_repo_path": "src/__tests__/components/modals/Confirmation.test.js", "max_issues_repo_name": "TKOaly/rv-app-frontend", "max_issues_repo_issues_event_min_datetime": "2018-05-11T14:15:23.000Z", "max_issues_repo_issues_event_max_datetime": "2020-04-30T18:41:26.000Z", "max_forks_repo_path": "src/__tests__/components/modals/Confirmation.test.js", "max_forks_repo_name": "TKOaly/rv-app-frontend", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": 56, "max_forks_count": null, "avg_line_length": 26.7, "max_line_length": 71, "alphanum_fraction": 0.4475655431}
import { Confirmation } from '../../../components/modals/Confirmation';
import React from 'react';
import renderer from 'react-test-renderer';

describe('<Confirmation />', () => {
    it('should match snapshot', () => {
        const cmpnt = renderer
            .create(<Confirmation />, {
                createNodeMock: () => {
                    return {
                        focus: () => {}
                    };
                }
            })
            .toJSON();
        expect(cmpnt).toMatchSnapshot();
    });
});

