{"size": 380, "ext": "js", "max_stars_repo_path": "tests/unit/components/Spinner.spec.js", "max_stars_repo_name": "imusify/imusify-web", "max_stars_repo_stars_event_min_datetime": "2018-09-04T19:50:20.000Z", "max_stars_repo_stars_event_max_datetime": "2020-02-14T09:10:05.000Z", "max_issues_repo_path": "tests/unit/components/Spinner.spec.js", "max_issues_repo_name": "iamonuwa/imusify-web", "max_issues_repo_issues_event_min_datetime": "2018-09-04T20:32:13.000Z", "max_issues_repo_issues_event_max_datetime": "2019-07-30T20:31:04.000Z", "max_forks_repo_path": "tests/unit/components/Spinner.spec.js", "max_forks_repo_name": "iamonuwa/imusify-web", "max_forks_repo_forks_event_min_datetime": "2018-09-05T10:27:42.000Z", "max_forks_repo_forks_event_max_datetime": "2019-05-22T08:55:50.000Z"}
{"max_stars_count": 9, "max_issues_count": 96, "max_forks_count": 6, "avg_line_length": 29.2307692308, "max_line_length": 49, "alphanum_fraction": 0.6526315789}
import { shallowMount } from '@vue/test-utils';
import { expect } from 'chai';
import Spinner from '@/components/Spinner.vue';
import Icon from '@/components/Icon.vue';

describe('Spinner.vue', () => {
  it('renders Spinner Icon', () => {
    const wrapper = shallowMount(Spinner);
    const icon = wrapper.find(Icon).props().name;
    expect(icon).to.equal('spinner');
  });
});
