Skip to content

Commit 5def77c

Browse files
committed
fix tests
1 parent a6be984 commit 5def77c

1 file changed

Lines changed: 21 additions & 0 deletions

File tree

apps/sim/tools/function/execute.test.ts

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,10 +56,17 @@ describe('Function Execute Tool', () => {
5656
blockData: {},
5757
blockNameMapping: {},
5858
blockOutputSchemas: {},
59+
contextVariables: {},
5960
isCustomTool: false,
6061
language: 'javascript',
62+
outputFormat: undefined,
63+
outputMimeType: undefined,
64+
outputPath: undefined,
65+
outputSandboxPath: undefined,
66+
outputTable: undefined,
6167
timeout: 5000,
6268
workflowId: undefined,
69+
workspaceId: undefined,
6370
userId: undefined,
6471
})
6572
})
@@ -85,9 +92,16 @@ describe('Function Execute Tool', () => {
8592
blockData: {},
8693
blockNameMapping: {},
8794
blockOutputSchemas: {},
95+
contextVariables: {},
8896
isCustomTool: false,
8997
language: 'javascript',
98+
outputFormat: undefined,
99+
outputMimeType: undefined,
100+
outputPath: undefined,
101+
outputSandboxPath: undefined,
102+
outputTable: undefined,
90103
workflowId: undefined,
104+
workspaceId: undefined,
91105
userId: undefined,
92106
})
93107
})
@@ -105,9 +119,16 @@ describe('Function Execute Tool', () => {
105119
blockData: {},
106120
blockNameMapping: {},
107121
blockOutputSchemas: {},
122+
contextVariables: {},
108123
isCustomTool: false,
109124
language: 'javascript',
125+
outputFormat: undefined,
126+
outputMimeType: undefined,
127+
outputPath: undefined,
128+
outputSandboxPath: undefined,
129+
outputTable: undefined,
110130
workflowId: undefined,
131+
workspaceId: undefined,
111132
userId: undefined,
112133
})
113134
})

0 commit comments

Comments
 (0)