{"size": 523, "ext": "js", "max_stars_repo_path": "templates/content-site/template/site/client/__tests__/unit/components/layout/navigation/logo.js", "max_stars_repo_name": "sham-ui/shamui-cli", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "templates/content-site/template/site/client/__tests__/unit/components/layout/navigation/logo.js", "max_issues_repo_name": "sham-ui/shamui-cli", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "templates/content-site/template/site/client/__tests__/unit/components/layout/navigation/logo.js", "max_forks_repo_name": "sham-ui/shamui-cli", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 26.15, "max_line_length": 93, "alphanum_fraction": 0.5755258126}
import { createDI } from 'sham-ui';
import hrefto from 'sham-ui-router/lib/href-to';
import LayoutNavigationLogo  from '../../../../../src/components/layout/navigation/logo.sfc';
import renderer from 'sham-ui-test-helpers';

it( 'renders correctly', () => {
    const DI = createDI();
    DI.bind( 'router', {
        generate: () => '/'
    } );

    const meta = renderer( LayoutNavigationLogo, {
        DI,
        directives: {
            hrefto
        }
    } );
    expect( meta.toJSON() ).toMatchSnapshot();
} );
