{"size": 391, "ext": "js", "max_stars_repo_path": "test/components/Base/DocLink.test.js", "max_stars_repo_name": "whDongRui/dashboard", "max_stars_repo_stars_event_min_datetime": "2017-12-28T12:27:36.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-27T13:10:03.000Z", "max_issues_repo_path": "test/components/Base/DocLink.test.js", "max_issues_repo_name": "openpitrix/dashboard", "max_issues_repo_issues_event_min_datetime": "2018-01-04T09:15:55.000Z", "max_issues_repo_issues_event_max_datetime": "2022-03-08T22:39:18.000Z", "max_forks_repo_path": "test/components/Base/DocLink.test.js", "max_forks_repo_name": "whDongRui/dashboard", "max_forks_repo_forks_event_min_datetime": "2017-12-28T09:53:18.000Z", "max_forks_repo_forks_event_max_datetime": "2021-11-02T01:23:56.000Z"}
{"max_stars_count": 36, "max_issues_count": 922, "max_forks_count": 28, "avg_line_length": 23.0, "max_line_length": 50, "alphanum_fraction": 0.6342710997}
import React from 'react';
import { render } from 'enzyme';
import toJson from 'enzyme-to-json';

import DocLink from 'components/Base/DocLink';

describe('Base/DocLink', () => {
  it('basic render', () => {
    const wrapper = render(
      <DocLink name="STEPPER_FOOTER_CREATE_APP_2">
        《Helm 规范及应用开发》
      </DocLink>
    );
    expect(toJson(wrapper)).toMatchSnapshot();
  });
});
