Skip to content

Commit

Permalink
add missing required prop to test
Browse files Browse the repository at this point in the history
  • Loading branch information
ElectronicBlueberry committed Dec 5, 2024
1 parent 0d7561d commit fa384b7
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ describe("FormDefault", () => {
contentId: "id",
annotation: "annotation",
label: "label",
name: "name",
type: "subworkflow",
configForm: {
inputs: [],
Expand All @@ -42,7 +43,7 @@ describe("FormDefault", () => {

it("check initial value and value change", async () => {
const title = wrapper.find(".portlet-title-text").text();
expect(title).toBe("label");
expect(title).toBe("name");
const inputCount = wrapper.findAll("input").length;
expect(inputCount).toBe(4);
const outputLabelCount = wrapper.findAll("#__label__output-name").length;
Expand Down

0 comments on commit fa384b7

Please sign in to comment.