updating unit test for required prop

This commit is contained in:
Assunta DeSanto
2022-06-02 14:14:10 -04:00
parent 20392a8997
commit 0923f6fd65
@@ -1,6 +1,7 @@
import { mount } from "@vue/test-utils";
import { getLocalVue } from "jest/helpers";
import CollectionDescription from "./CollectionDescription";
import { JobStateSummary } from "./JobStateSummary";
const localVue = getLocalVue();
@@ -8,9 +9,11 @@ describe("CollectionDescription", () => {
let wrapper;
beforeEach(() => {
const jss = new JobStateSummary();
wrapper = mount(CollectionDescription, {
propsData: {
collectionType: "list",
jobStateSummary: jss,
},
localVue,
});