{"size": 436, "ext": "js", "max_stars_repo_path": "tests/unit/quizzes_list.spec.js", "max_stars_repo_name": "tomdwor/dynamoquiz", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "tests/unit/quizzes_list.spec.js", "max_issues_repo_name": "tomdwor/dynamoquiz", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "tests/unit/quizzes_list.spec.js", "max_forks_repo_name": "tomdwor/dynamoquiz", "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": 25.6470588235, "max_line_length": 55, "alphanum_fraction": 0.6490825688}
import Vue from "vue";
import Vuetify from "vuetify";
import { shallowMount } from "@vue/test-utils";
import QuizzesList from "@/components/QuizzesList.vue";

Vue.use(Vuetify);

describe("QuizzesList.vue", () => {
  it("renders props.msg when passed", () => {
    const msg = "Some list name";
    const wrapper = shallowMount(QuizzesList, {
      propsData: { listName: msg }
    });
    expect(wrapper.text()).toMatch(msg);
  });
});
