diff --git a/packages/react-sdk/src/component-generator.test.tsx b/packages/react-sdk/src/component-generator.test.tsx index 5452e626ea24..60cf953cfa83 100644 --- a/packages/react-sdk/src/component-generator.test.tsx +++ b/packages/react-sdk/src/component-generator.test.tsx @@ -225,6 +225,7 @@ test("generate jsx element with data sources and action", () => { { type: "variable", id: "variableId", + scopeInstanceId: "box", name: "variableName", value: { type: "number", value: 0 }, }, @@ -292,6 +293,7 @@ test("generate jsx element with condition based on show prop", () => { { type: "variable", id: "conditionId", + scopeInstanceId: "box", name: "conditionName", value: { type: "boolean", value: false }, }, @@ -535,6 +537,7 @@ test("generate component with variables and actions", () => { { type: "variable", id: "variableId", + scopeInstanceId: "box", name: "variableName", value: { type: "string", value: "initial" }, }, @@ -1096,6 +1099,7 @@ test("variable names can be js identifiers", () => { { type: "variable", id: "variableId", + scopeInstanceId: "box", name: "switch", value: { type: "string", value: "initial" }, },