mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-10-25 00:12:08 +08:00
updating unit test for required prop
This commit is contained in:
@@ -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,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user