Skip to content

Commit

Permalink
Fix types
Browse files Browse the repository at this point in the history
  • Loading branch information
TrySound committed Jan 22, 2025
1 parent 3451842 commit 2c4301c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/react-sdk/src/component-generator.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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 },
},
Expand Down Expand Up @@ -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 },
},
Expand Down Expand Up @@ -535,6 +537,7 @@ test("generate component with variables and actions", () => {
{
type: "variable",
id: "variableId",
scopeInstanceId: "box",
name: "variableName",
value: { type: "string", value: "initial" },
},
Expand Down Expand Up @@ -1096,6 +1099,7 @@ test("variable names can be js identifiers", () => {
{
type: "variable",
id: "variableId",
scopeInstanceId: "box",
name: "switch",
value: { type: "string", value: "initial" },
},
Expand Down

0 comments on commit 2c4301c

Please sign in to comment.