Skip to content

Commit

Permalink
fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
Salihu Baba-saliu authored and Salihu Baba-saliu committed Oct 30, 2024
1 parent c0fa62e commit f2557e3
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ describe("when array template is rendered", () => {
type: "array",
fieldOptions: { tooltip: "go away bro" },
arrayOptions: { defaultInstances: 1, max: 3 },
children: [{ key: "name", label: "Name", type: "text" }],
children: [{ key: "name", label: "Nameers", type: "text" }],
};

const localFormComponent = await createNewFormComponent([
Expand All @@ -205,7 +205,7 @@ describe("when array template is rendered", () => {

expect(
localFormComponent.inputField(formInput, "root", true)
).to.have.lengthOf(3);
).to.have.lengthOf(4);

// 3 array components should be rendered by default
expect(localFormComponent.element(formArray, "root", true)).to.have.length(
Expand Down

0 comments on commit f2557e3

Please sign in to comment.